ISETPROPERTY
Syntax | Arguments | Keywords | Examples | Version History | See Also
The ISETPROPERTY procedure sets a property on one or more iTool visualizations.
Note
The keyword name used to set the property may not be the same as the human-readable name displayed on the property sheet. You can call IGETPROPERTY with the _REGISTERED keyword to retrieve all of a visualization's registered properties.
Note
If you misspell a property keyword or try to set a property keyword that does not exist for a particular iTool, no error will be generated.
For a list of all iTool properties, refer to Visualization Properties (iTool User's Guide). For more information about iTool properties, see "About the Properties Interface" (iTool Developer's Guide).
This routine is written in the IDL language. Its source code can be found in the file isetproperty.pro in the lib/itools subdirectory of the IDL distribution.
Syntax
ISETPROPERTY, Id [, PROPERTY=value] [, TOOL=value]
Arguments
Id
A string containing the identifier of the iTools object on which to set the property. If you pass a partial identifier, the IGETID function is called to retrieve the full identifier string.
Keywords
To set the value of a property, specify the property name as a keyword set equal to the value. If you set multiple properties at once, they are set internally in alphabetical order.
All other keywords are passed to the iTools object.
TOOL
Set this keyword to a string specifying one or more iTools in which to search for Id. If this keyword is not set, only the current iTool is searched.
Examples
In the following example, we plot a simple sine wave with iPlot. After retrieving the list of properties for an iPlot object, as well as the value of the current plotting line style, we set new visualization properties for the plot.
Version History
See Also
IGETPROPERTY, IGETID, IPUTDATA, IGETDATA, IGETCURRENT, ISETCURRENT, Controlling iTools from the IDL Command Line (iTool Developer's Guide), "Using the iTools Procedural Interface" (iTool User's Guide)