Documentation for pp_lib

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

pp_colorbar_range.pro


Routines

top source pp_colorbar_range

pp_colorbar_range, range [, np] [, format=format] [, vnumber=vnumber] [, id=id] [, _ref_extra=_ref_extra]

Changes the range of values spanned by the labels in an existing colorbar.

Parameters

range in required

Two-element array with the range to be spanned by the colorbar.

np in optional

Number of tick marks to use.

Keywords

format in optional default=(F5.1)

Format specification to use when making the new tick labels.

vnumber in optional default=1

View number (panel number) in the itool where the text should be placed.

id in out optional

Itool id to use. If not specified, the current is used and its id is returned.

_ref_extra in out optional

Any other properties of the colorbar to set (IDLitVisColorbar properties).

Examples

Make a sample plot:

iplot,findgen(10),vert_colors=bindgen(10)*255/(9.),/insert_colorbar pp_colorbar_range,[0.,5.],font_size=12.

Author information

Author:

Paulo Penteado (pp.penteado@gmail.com), Aug/2009

Other attributes

Uses:

Statistics

Lines:
22 lines
Cyclomatic complexity:
7
Modified cyclomatic complexity:
7

File attributes

Modification date: Wed Jun 29 22:15:28 2016
Lines: 22
Docformat: rst rst