Main Content
groot
Graphics root object
Description
groot
refers to the graphics root object.
Use groot
to access root properties. For a list
of properties, see Root Properties.
r = groot
stores the graphics root object
handle. To set root properties using dot notation, you must store
the handle first.
Examples
Tips
Use the graphics root object to set default values on the root level for other types of objects. For example, set the default colormap for all future figures to the
summer
colormap.To restore a property to its original MATLAB® default, use theset(groot,'DefaultFigureColormap',summer)
'remove'
keyword.For more information on setting default values, see Default Property Values.set(groot,'DefaultFigureColormap','remove')
Version History
Introduced in R2014b