Sets the specified preference.
set_preference(attribute,value)
-
attribute - the quoted attribute name
-
value - the quoted value to be assigned to the attribute
The set_preference command sets the specified preference to
the supplied value. The new setting does not affect the
attributes of existing objects and data, only new ones created
after the call to set_preference.
A complete list of supported preferences is available from
"ahelp set_preferences"
. Use the set_preferences command to change multiple
preferences at a time.
chips> set_preference("point.color","red")
Set the default point color to red.
chips> set_preference("point.fill", "false")
By default, points will not be filled.
|