![]() |
iTool User's Guide: Importing and Exporting Data |
![]() |
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 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.
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.
Parameter data can often be entered at the IDL command line in IDL when creating an iTool. Consider the following example:
myPlotData = RANDOMU(seed, 30) iPlot, myPlotData
myPlotData
is inserted into the iTool Data Manager.
![]() |
Note See Importing and Writing Data into Variables for more information on Command Line data access. |
IDL Online Help (March 01, 2006)