Factory-Defined Property Values
MATLAB® defines values for all graphics object properties. Plotting functions use these values if you do not specify values as arguments or as defaults. Generate a list of all factory-defined values with the statement
a = get(groot,'Factory');
get
returns a structure array whose field names are the object type
and property name concatenated, and field values are the factory value for the indicated
object and property. For example, this field,
factoryAxesVisible: 'on'
indicates that the factory value for the Visible
property of axes
objects is on
.
You can get the factory value of an individual property with
get(groot,'factoryObjectTypePropertyName')
For example:
get(groot,'factoryTextFontName')