It seems that the root object, a.k.a 0 has hidden properties in Matlab. For example, DefaultTextInterpreter is one of them:
x = get(0,'DefaultTextInterpreter');
When I use
get(0)
I get a long list, which does not include DefaultTextInterpreter.
Even setting undocumented properties to be visible by
set(0,'HideUndocumented','off');
does not seem to help.
How can I find all of the properties of the root object, including DefaultTextInterpreter?
Default properties are not hidden nor undocumented – they are available for all standard Handle Graphics properties by simply prefixing ‘Default’ to the property name, together with the object type (‘Line’, ‘Axes’ etc.). This is explained in the official documentation.
In fact, this mechanism also works for hidden/undocumented properties, as shown for the LineSmoothing property.
To see all the supported default properties, do as follows:
Note that this does not return the undocumented defaults. You can always get the undocumented defaults directly:
Since I can’t help myself :-), here’s a bit of now-really-undocumented knowledge, which does not answer the OP question but it somehow related. Readers who are only interested in the original question or in purely-documented/supported stuff can safely skip this part:
In this simple snippet, note that the default (FactoryValue) for the position property of the UDD hg.Figure class is different than the HG default that is returned by the root’s DefaultFigurePosition property. More information on UDD properties can be found here.
Addendum 2013-02-13: I’ve just posted a detailed article explaining how Matlab’s Default and Factory property values work, how they relate to each other, and how they can be accessed.