Description:Add a color bar to a display window. If the window is subsequently output as a PNG or postscript file, then this color bar willl automatically be included (unless explicitly excluded).
[Interactive Mode][Command Mode]
Usage: cbar, fbuf=fbuf, incr=incr, vals=vals, ann=ann, format=format, orient=orient, fonttype=fonttype, fontname=fontname, charsize=charsize, charthick=charthick, /ON, /OFF
Arguments/Keywords:
| fbuf | Window number. If omitted, then current window number is used. | ||||||||
| incr | Specify desired color bar increment in data units. | ||||||||
| vals | Specify an array of data values at which points to annotate the color bar. | ||||||||
| ann | Specify a string array of annotation values to use at the data value locations specified in vals. If omitted, the annotation values will be the data values listed in vals using the format specified in format. | ||||||||
| format | The
format to use for annotating the color bar (The default depends on the
data type displayed):
|
||||||||
| orient | Specify
the orientation of the color bar. The default depends on the aspect
ratio of the output image. By default, the color bar will always
be placed along the longest edge of the image.
|
||||||||
| Color bar Font | The
default font is the default hardware font selected for your widget font
or specified by environment variable $SDSWFONT.
|
||||||||
| on | Turn on color bar (Default) | ||||||||
| off | Turn off color bar (this would be primarily used for demos) |
Description:
The Color Bar Setup Widget provides the capability of displaying
a data reference bar alongside the display window image. Basic color
bar functions can be activated from the Display Window Widget by
selecting:
Action items:
| Bar Orientation | Vertical or Horizontal. Whether to append the color data reference bar horizontally or vertically to the display window widget. (The default is to set the bar in the longest dimension). | ||||||||
| Label increment | The
label increment has two different meanings, depending on the display scale
type of the image data. Hitting RETURN after entering a new label increment,
will cause Label Values and Label Annotation to recalculate
and will redraw new annotation on the color data reference bar.
|
||||||||
| Label Values | The data values at which the annotation labels will be placed. | ||||||||
| Label Format | The data format used in coverting from Label Values to Label Annotation. | ||||||||
| Label Annotation | The label annotation strings to be placed at Label Values locations on the color bar. The label annotation is completely independent from the label values. They can be any string text values, i.e. Label Values can be [1.0,2.0,3.0,4.0] and Label Annotation can be ['Jan', 'Feb', 'Mar','Apr']. | ||||||||
| Font |
|
||||||||
| Quit | Delete the Color Bar Setup Widget. All current default values are retained. | ||||||||
| Help | Show on-line help in HTML viewer. |
| Curator: OceanColor Webmaster
Authorized by: gene carl feldman |
Privacy Policy and Important Notices
Updated: 20 March 2008 |
|