Setting and Querying Property Values
The set and get functions specify and retrieve the value of existing graphics object properties. They also enable you to list possible values for properties that have a fixed set of values.
The basic syntax for setting the value of a property on an existing object is:
set(object_handle,'PropertyName','NewPropertyValue')
To query the current value of a specific object's property, use a statement like:
returned_value = get(object_hanlde,'PropertyName');
Property names are always quoted strings. Property values depend on the particular property.
See Accessing Object Handles and the findobj command for information on finding the handles of existing object.
[ Previous | Help Desk | Next ]