Skip to content

get

Get property values from a graph object.

v = get(h, name)

Returns the current value of the named property on the object referenced by handle h. Without a name, returns a structure of all properties.

color = get(h, 'Color');
all_props = get(h);
  • set — Set property values on a graph object.
  • gca — Handle to the current axes.
  • gcf — Handle to the current figure.