IMAGE_CONT Procedure

The IMAGE_CONT procedure overlays an image with a contour plot.

This routine is written in the IDL language. Its source code can be found in the file image_cont.pro in the lib subdirectory of the IDL distribution.

Examples

; Create an image to display:
A = BYTSCL(DIST(356))

; Display image and overplot contour lines:
IMAGE_CONT, A, /WINDOW

Syntax

IMAGE_CONT, A [, /ASPECT] [, /INTERP] [, /WINDOW_SCALE]

Arguments

A

The two-dimensional array to display and overlay.

Keywords

ASPECT

Set this keyword to retain the image’s aspect ratio. Square pixels are assumed. If WINDOW_SCALE is set, the aspect ratio is automatically retained.

INTERP

If this keyword is set, bilinear interpolation is used if the image is resized.

WINDOW_SCALE

Set this keyword to scale the window size to the image size. Otherwise, the image size is scaled to the window size. This keyword is ignored when outputting to devices with scalable pixels (e.g., PostScript).

Version History

Original

Introduced

See Also

CONTOUR Procedure, ICONTOUR, IIMAGE, TV Procedure