Graphics Previous page   Next Page

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. (You can also use the Property Editor to set many property values.

The basic syntax for setting the value of a property on an existing object is

To query the current value of a specific object's property, use a statement like

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 objects.


Previous page  Properties Common to All Objects Setting Property Values Next page

© 1994-2005 The MathWorks, Inc.