12.07.2015 Views

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

MATLAB Function Reference (Volume 2: Graphics)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

getPurpose2getGet object propertiesSyntaxDescriptionget(h)get(h,'PropertyName') = get(H,)a = get(h)a = get(0,'Factory')a = get(0,'FactoryObjectTypePropertyName')a = get(h,'Default')a = get(h,'DefaultObjectTypePropertyName')get(h) returns all properties and their current values of the graphics objectidentified by the handle h.get(h,'PropertyName') returns the value of the property 'PropertyName' ofthe graphics object identified by h. = get(H,pn) returns n property values for mgraphics objects in the m-by-n cell array, where m = length(H) and n is equalto the number of property names contained in pn.a = get(h) returns a structure whose field names are the object’s propertynames and whose values are the current values of the correspondingproperties. h must be a scalar. If you do not specify an output argument,<strong>MATLAB</strong> displays the information on the screen.a = get(0,'Factory') returns the factory-defined values of all user-settableproperties. a is a structure array whose field names are the object propertynames and whose field values are the values of the corresponding properties. Ifyou do not specify an output argument, <strong>MATLAB</strong> displays the information onthe screen.a = get(0,'FactoryObjectTypePropertyName') returns the factory-definedvalue of the named property for the specified object type. The argument,FactoryObjectTypePropertyName, is the word Factory concatenated with theobject type (e.g., Figure) and the property name (e.g., Color).FactoryFigureColor2-208

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!