This page was created by the IDL library routine
mk_html_help
. For more information on
this routine, refer to the IDL Online Help Navigator
or type:
? mk_html_help
at the IDL command line prompt.
Last modified: Thu Oct 15 17:36:52 1998.
NAME: hydra_colorbar PURPOSE: Draws a color bar to the right side of the last plot, plotting the map from color to "Z" value. CATEGORY: color plotting CALLING SEQUENCE: hydra_colorbar, zrange=[min,max], /zlog, ztitle='Z,units' KEYWORD PARAMETERS: zmat: supply the z matrix for autoranging. ctable: ctable(0) is first color index, ctable(1) is last. ztitle: string to print along axis. zrange: like xrange, zrange(0) is first color, zrange(1) is last zlog: logarythmic z axis. xpos: specify position of colorbar relative to the position vector x position. 0 is the left edge of plot, 1 is the right side. For example, default is [ 1.05, 1.10 ] zword: string to print above the colorbar. PROCEDURE: locate corners of image, draw tv image. draw axis with "axis" procedure. xyouts zword if specified. EXAMPLE: hydra_plotcolor, Z, time, energy, $ zrange=[0.1,100], /zlog, title='POLAR/HYDRA Ions' hydra_colorbar, zrange=[0.1,100], /zlog, ztitle='Counts' MODIFICATION HISTORY: Log started October 15, 1998
(See hydra_colorbar.pro)