Displaying Two-Dimensional Plots

The iPlot tool's primary design is to display plot data, though the tool is capable of much more once the data is plotted. The iPlot tool can display multiple types of plots and allows you to manipulate and edit the displays.

The first task is to display plot data. Here is a simple example of how to display a plot.

At the IDL command line, enter:

iPlot, RANDOMU(seed, 20) 
 

Figure 14-1: A Simple 2D Plot Using the iPlot Tool

iPlot2D.gif

Note
The examples/data directory of your IDL 7.1 distribution contains a text file named index.txt. This file lists all data files available in the example directory and also lists their dimensions and values.

Note
For information on how to display plots using the Visualization Palette, see Plot Visualizations).