Importing Data from the IDL Session
Variables in your current IDL session can be imported into the Data Manager to be visualized in an iTool. Once you have entered variables into the IDL session at the command line, you can import a variable directly from the Data Manager dialog, or by using File → Import. See Importing and Writing Data into Variables (Using IDL) for information on how to create variables that contain data within an IDL session.
Note
If you specify a variable as a parameter to the iTool at the IDL command line, the variable is automatically imported into the Data Manager.
The following is an example of importing a variable using the Data Manager dialog:
After importing data into the Data Manager, you can display the data using the Insert Visualization dialog. See Inserting Visualizations for details.
Importing Graphic Objects
You can import graphic objects into your iTool using the Visualization pull-down menu on the Insert Visualization window. Select IDL Graphics Object and then import your variable from the Data Manager into the Graphics Object field and select Insert.
When importing graphic objects into an iTool it is important to remember:
If the object hierarchy being inserted as a graphic object includes an image object, rotation may not behave as expected. For more information on image objects and their behavior, see Transformations of IDLgrImage Objects (IDL Reference Guide).
Parameter Data and the Command Line
Parameter data can often be entered at the IDL command line in IDL when creating an iTool. Consider the following example:
- At the IDL Command Line, enter the following:
- The variable
myPlotDatais inserted into the iTool Data Manager. - The following is produced in an iPlot window:
Note
See Importing and Writing Data into Variables (Using IDL) for more information on Command Line data access.


