general/tplot/
draw_color_scale.pro
PROCEDURE: draw_color_scale NAME: draw_color_scale PURPOSE: Procedure to draw a color scale. INPUTS: (none) KEYWORDS: RANGE: Array of two giving the range in data values the scale corresponds to. BRANGE: intarr(2) giving the range in color map values the scale spans. LOG: If set, make scale logarithmic. CHARSIZE: Character size to be used for scale. YTICKS: Functions like IDL plot yticks keyword. Used to set number of scale annotations. POSITION: fltarr(4) giving the position of the color scale in the window in the form (x0,y0,x1,y1). OFFSET: fltarr(2) giving the offsets from the right side of the current plot for calculating the x0 and x1 positions of the color scale. In device units. Ignored if POSITION keyword is set. TITLE: String title for color scale. _EXTRA: Passes the _EXTRA to the AXIS routine when called. Most options that AXIS accepts may be passed to DRAW_COLOR_SCALE e.g. ytickformat,ytitle,yminor,yticklen,... CREATED BY: Davin Larson LAST MODIFIED: 1.17 05/29/07 MODIFIED BY: Patrick Cruce
Routines
File attributes
Modification date: | Mon Dec 8 12:47:22 2014 |
Lines: | 58 |