Plotting with the Tool Palette
Using the Tool Palette is an easy way to quickly display your data in graphical form, without any IDL programming. To create a simple plot with an overplot:
- Make sure you are viewing the IDL Visualize Perspective. (Click the Visualize icon in the upper right of the Workbench.)
- Enter the following variables at the command line:
- From the Variables View, drag the
xvariable to the Plot Tool.
A=2*!PI/100*FINDGEN(300)
X=sin(a)
Y=cos(a)
The A, X, and Y variables appear in the Variables View.

The data displays in the iPlot tool.
- Leave the iPlot window open and return to the IDL Workbench. Notice a plot shown in the Visualizations view.
- Click on the Action toggle icon (
) to expand the Tools Palette to display the Actions. - Click on the Plot tool to display the Plot Actions. In the first action, you should see
Xdisplayed in the variable field. - From the Variables view, drag the
Yvariable on top of the X in the first action.

- Now click on the down arrow next to the IPLOT button in that action, and select IPLOT, /OVERPLOT.

The two plots now display in the original iPlot window: