The SHOW3 procedure combines an image, a surface plot of the image data, and a contour plot of the images data in a single tri-level display.
This routine is written in the IDL language. Its source code can be found in the file
show3.pro
in the
lib
subdirectory of the IDL distribution.
Set this keyword to use bilinear interpolation on the pixel display. This technique is slightly slower, but for small images, it makes a better display.
Set this keyword equal to an anonymous structure containing additional keyword parameters that are passed to the CONTOUR procedure. Tag names in the structure should be valid keyword arguments to CONTOUR, and the values associated with each tag should be valid keyword values.
Set this keyword equal to an anonymous structure containing additional keyword parameters that are passed to the SURFACE procedure. Tag names in the structure should be valid keyword arguments to SURFACE, and the values associated with each tag should be valid keyword values.
Reduction scale for surface. The default is 1. If this keyword is set to a value other than 1, the array size is reduced by this factor for the surface display. That is, the number of points used to draw the wire-mesh surface is reduced. If the array dimensions are not an integral multiple of SSCALE, the image is reduced to the next smaller multiple.
A = BESELJ(SHIFT(DIST(30,20), 15, 10)/2.,0)
;
Create a dataset.
SHOW3, A ; Show it with default display.
SHOW3, A, SQRT(FINDGEN(30)) ; Specify X axis proportional to square root of values.
SHOW3, A, E_CONTOUR={C_CHARSIZE:2, DOWN:1}
;
Label CONTOUR lines with double size characters, and include downhill tick marks.
SHOW3, A, E_SURFACE={SKIRT:-1, ZRANGE:[-2,2]}
;
Draw a surface with a skirt and scale Z axis from -2 to 2.