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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

setPurpose2setSet object propertiesSyntaxDescriptionset(H,'PropertyName',PropertyValue,...)set(H,a)set(H,pn,pv...)set(H,pn,)a= set(h)a= set(0,'Factory')a= set(0,'FactoryObjectTypePropertyName')a= set(h,'Default')a= set(h,'DefaultObjectTypePropertyName') = set(h,'PropertyName')set(H,'PropertyName',PropertyValue,...) sets the named properties tothe specified values on the object(s) identified by H. H can be a vector of handles,in which case set sets the properties’ values for all the objects.set(H,a) sets the named properties to the specified values on the object(s)identified by H. a is a structure array whose field names are the object propertynames and whose field values are the values of the corresponding properties.set(H,pn,pv,...) sets the named properties specified in the cell array pn tothe corresponding value in the cell array pv for all objects identified in H.set(H,pn,) sets n property values on each of m graphicsobjects, where m = length(H) and n is equal to the number of property namescontained in the cell array pn. This allows you to set a given group of propertiesto different values on each object.a = set(h) returns the user-settable properties and possible values for theobject identified by h. a is a structure array whose field names are the object’sproperty names and whose field values are the possible values of thecorresponding properties. If you do not specify an output argument, <strong>MATLAB</strong>displays the information on the screen. h must be scalar.a = set(0,'Factory') returns the properties whose defaults are usersettable for all objects and lists possible values for each property. a is astructure array whose field names are the object’s property names and whosefield values are the possible values of the corresponding properties. If you do2-435

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

Saved successfully!

Ooh no, something went wrong!