Examples
The iTool Data Manager system maintains your data during the entire IDL session, unless IRESET is used. This example shows how the data is maintained and how IRESET is used to clear the iTool Data Manager.
Read in plot data and load it into an iPlot tool at the IDL Command Line:
file = FILEPATH('dirty_sine.dat', $
SUBDIRECTORY = ['examples', 'data'])
data = READ_BINARY(file, DATA_DIMS = [256, 1])
IPLOT, data
Delete this tool with the IDELETE procedure at the IDL Command Line:
IDELETE
Read in surface data and load it into an iSurface tool at the IDL Command Line:
file = FILEPATH('elevbin.dat', $
SUBDIRECTORY = ['examples', 'data'])
data = READ_BINARY(file, DATA_DIMS = [64, 64])
ISURFACE, data
Use Window > Data Manager... to access the Data Manager Browser. The browser contains both plot and surface parameters. Although the iPlot tool was deleted, its data remains in the Data Manager. Click Dismiss.
Use File > New > iPlot to create an empty iPlot tool. To load the plot data in the Data Manager into this tool, use Insert > Visualization to access the Insert Visualization dialog, which allows you to specify the plot data to be displayed.
At the IDL Command Line, enter:
IRESET, /NO_PROMPT
The two iTools are deleted and the data in the Data Manager is released. To verify the data is released, create an empty iSurface tool at the IDL Command Line:
ISURFACE
Use Window > Data Manager to access the Data Manager Browser. No data appears in the browser. The iTool Data Manager is empty. Click Dismiss.
At the IDL Command Line, enter:
IRESET, /NO_PROMPT
Syntax
IRESET [, /NO_PROMPT]
Arguments
Keywords
NO_PROMPT
Set this keyword to disable prompting the user before resetting the system. If this keyword is set, the user is not presented with a prompt and the reset is performed immediately.
Version History
6.0 |
Introduced |
7.1 |
Routine name changed from ITRESET to IRESET.
|
See Also
ISETCURRENT, IDELETE, IGETCURRENT