Some existing HG1 properties are missing.I have absolutely no idea why these so-useful properties are kept hidden, it simply makes no sense. Some of the useful new axes properties include *Ruler, *Baseline, *GridHandle, BoxFrame and BackDrop (I showed an example usage of *Ruler and *Baseline above). Note that many of these new properties are hidden/undocumented (why the hell for?), so we need a utility such as my uiinspect or getundoc to detect them. For example, we can customize the axes grid-lines, containing box and exponent labels in ways that were impossible in HG1 (triple hurray!).
![exe attempting to run matlab r2015a win 8.1 exe attempting to run matlab r2015a win 8.1](https://docs.freebsd.org/images/books/handbook/wine/wine-run-np++-1.png)
Many new properties have been added to graphic objects, that enable customization of different aspects.This means it can be seen with get(gcf) and once HG2 becomes live it will become fully documented/supported – hurray! I would have liked to see the anti-aliasing feature use the same property name for all graphic elements, rather than GraphicsSmoothing/LineSmoothing/Smoothing, but maybe I’m just being an ungrateful spoil-sport… The good news about GraphicsSmoothing is that this is a non-hidden property. No more need to set individual graphic elements, although we still can if we want (alas, this flexibility may be removed soon – see item #6 below). R2013b addendum: The figure handle now includes a property called GraphicsSmoothing that controls anti-aliasing at the entire figure level (default=’on’). For example, the axes title (which is a text object of class ) has a new property called Smoothing that controls anti-aliasing (unlike LineSmoothing, Smoothing appears to be an un-hidden fully-documented property). Note that for some objects the property name is different.
![exe attempting to run matlab r2015a win 8.1 exe attempting to run matlab r2015a win 8.1](https://blogs.mathworks.com/images/simulink/2020Q3/simpleAppEXE.png)
Still, for some unknown reason, LineSmoothing remains a hidden/undocumented property. Apparently, MathWorks solved the problems with the existing undocumented LineSmoothing property. line -smoothing) is now ‘on’ by default (double hurray!).
Exe attempting to run matlab r2015a win 8.1 code#
The relevant code should now look something like this, in order to be fully-compatible with older Matlab releases:
![exe attempting to run matlab r2015a win 8.1 exe attempting to run matlab r2015a win 8.1](https://2.bp.blogspot.com/-G7lGJmMscSo/WQv-tSmAPXI/AAAAAAAAAVg/yabTMUQdsuY2jVyGh4k9RihLbkNCpX0ZwCPcBGAYYCw/s400/1.png)
Here’s a simple plot line as it appears in both HG1 and HG2: HG2 has improved grid lines, plot anti-aliasing and customizable everything (more on this below). I also have a gut feeling that MathWorks will name that release 9.0 rather than 8.3, in keeping with its arch-rival Mathematica. It is possible that this could happen as early as the upcoming release (R2013b, 8.2) but I have a gut feeling that it will be in R2014a.
![exe attempting to run matlab r2015a win 8.1 exe attempting to run matlab r2015a win 8.1](https://cosine.oregonstate.edu/sites/cosine.oregonstate.edu/files/faqs/mac_mail/shared_mac_8_0.png)
This is good news, which leads me to think that HG2 will be released soon. The latest HG2 appears to be quite stable, and in my experience most GUI/graphics utilities run as-is, without any need for tweaking. In the past few years, development of HG2 has apparently progressed to a stage where most of the kinks were ironed out. I decided that it was time to revisit the latest state of HG2, as reflected in the latest release, R2013a (Matlab 8.1). But three years and six releases have passed, Matlab 7 turned into Matlab 8, and HG1 is still in use. At the time, I was sure that HG2 was just around the corner. Exactly three years ago, I posted information ( here and here) about Matlab’s upcoming new graphics engine, so-called HG2 ( Handle Graphics version 2).