||Department of Engineering
It's also possible to set default property values for objects.
When setting default values, the handle must be an ancestor of the
object for which you are changing the default property value. This is
because the object will inherit the property values from an ancestor.
To set the default values,
prepend Default to the property name and use the set
command. For example, set(gcf, 'DefaultAxesFontName','helvetica')
will make helvetica the font for all future axes which are part of the
current figure. set(0, 'DefaultAxesFontName','helvetica') would do
the same for all figures subsequently created, because 0 is the handle of the
root object - the ancestor of all other objects.
Setting default values can sometimes save much typing.