>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  CBAR






      Make a color bar.


Calling Sequence



Keyword Parameters


        VMIN=vmn Minimum value of color bar parameter (def=0).
        VMAX=vmx Maximum value of color bar parameter (def=top).
        CMIN=cmn Color that represents vmn (def=0).
        CMAX=cmx Color that represents vmx (def=top).
          where top = !d.table_size-1.
        CCLIP=cc Actual max color index allowed (def=!d.table_size-1)
        /HORIZONTAL Colors vary horizontally (def).
        /VERTICAL Colors vary vertical.
        /BOTTOM Horizontal axis on bottom (def).
        /TOP Horizontal axis on top.
        /RIGHT Vertical axis on right (def).
        /LEFT Vertical axis on left.
        /KEEP_SCALING Keep color bar axes scaling on exit.
        XSAVE=xs, YSAVE=ys, PSAVE=ps returned original scaling.
          Use /KEEP to plot in cbar coordinates (x=[0,1],y=[vmn,vmx]).
          May then restore original scale: !x=xs & !y=ys & !p=ps
        Plus all keywords accepted by PLOT.


Common Blocks


      Notes: Bar is positioned using the POSITION keyword.
        To display a title use TITLE and so on.

Modification History

      R. Sterner, 13 Dec, 1993
      R. Sterner, 1994 Jul 5 --- Added axis positioning.
      R. Sterner, 1995 Dec 10 --- Allow position to be in device coords.
      R. Sterner, 1995 Dec 18 --- Fixed to not clobber current xy scaling.
      R. Sterner, 1996 Dec 9 --- Added CCLIP keyword.
      R. Sterner, 1998 Jan 23 --- Added charthick keyword.
      R. Sterner, 2003 Jan 21 --- Added keyword /KEEP_SCALING, and [X|Y|P]SAVE.
  Copyright (C) 1993, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.

© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us