Surface Visualizations

Using the Visualize Perspective, you can easily see the graphical output of your surface data. You can use surface data in conjunction with a contour to get a more in-depth visualization of the data.

Surface and Contour Example

The example shows you how to create a surface visualization and then overplot the same data as a contour.

Note
This example assumes the default action definitions. Your results may be different if you have added new actions or changed the order of actions. To return all Tool Palette actions to their system default state, see Resetting the Default Actions.

  1. Make sure you are viewing the IDL Visualize Perspective. (Click the Visualize button (viz_button.gif) in the upper right of the Workbench.)
  2. Enter the following variable at the command line (or click on the code below to run it in IDL):
  3. hanning = hanning(500,500)

    The HANNING variable appears in the Variables View.

  4. From the Variables View, drag the HANNING variable to the Surface tool.
    icon_surface.gif
  5. The data displays in the iSurface tool.
    surface.gif

  6. Leave the iSurface window open and return to the IDL Workbench. Notice that in the Visualizations view, a surface visualization named Surface Hanning appears.
    surface_ex_vis.gif
  7. Click on the action toggle (window_icon.gif) to expand the Tool Palette to display the actions. (You can also drag the right border of the Tool Palette to the right to display the actions.)
  8. Click on the Contour tool to display the Contour actions.
  9. From the Variables view, drag the HANNING variable onto the variable field in the Contour action titled Contour:2D array.
    contour_overplot.jpg
  10. Now click on the down arrow next to the ICONTOUR button in that action, and select ICONTOUR, /OVERPLOT (shown above).
  11. In the Visualizations view, click on the Surface visualization to view it. Notice that it looks the same as it did before.
  12. To view the contour overlay, click on the Rotate tool rotate_icon.gif in the iSurface toolbar.
  13. Use the Rotate tool to rotate the Surface diagram so that you can see underneath it, and the contour lines appear:
    surface_contour.gif

Manipulating Surface Plots

Once you have visualized a surface plot, you can perform many different kinds of operations on it, including: