Source: utils/plot/display_image.pro
DISPLAY_IMAGE
Colour/greyscale image display in data coordinates.
Usage:
display_image, zin, xin, yin, xrange=xrange, yrange=yrange, $
zrange=zrange, $
colour_range=colour_range pixel_size=pixel_size
Arguments:
zin float input The data to be displayed
xin float input The X coordinates of the data.
yin float input The Y coordinates of the data.
Keywords:
zrange float input The range from "black" to "white"
no_dummy input If set then don't do a dummy
plot to set the scaling.
colour_range int input The range of colour indices to use.
pixel_size float input For devices with scalable pixels, the
size of a displayed pixel.
nan_colour int input Set a colour for invalid data.
Also accepts any keyword that PLOT will accept. (though things
like psym won't do anything).
Notes:
Currently doesn't work in a !p.multi environment.
History:
Original (after GRAFFER): 10/8/01; SJT
Fix autoscaling in log case & add NaN_colour: 15/8/01; SJT
Work around a bug(?) in IDL's PS implementation: 19/11/01; SJT