National Oceanic and
Atmospheric Administration
United States Department of Commerce

modifying the shade key

modifying the shade key

Question:

How can I resize or reposition the shade key?
-- or --
How can I change the size of the color bar labels?

Example:

shade key

Explanation:

There is a PlotPlus command called "SHAKEY" which controls the size, position,etc. of the key drawn with SHADE and FILL commands.

SHAKEY do_key, orient, klab_siz, klab_inc, klab_dig, klab_len, kx_lo, kx_hi, ky_lo, ky_hi
do_key 0 if the key will not be displayed, 1 if it will (0)
orient 0 for horizontal, 1 for vertical (0)
klab_size if non-zero: height of key label characters in inches (0)
klab_inc if non-zero: every klab_inc key level is labelled (0)
klab_dig number of sig digits in the key (3)
klab_len max characters in a key label (9)
kx_lo X coord of left side of key in inches
kx_hi X coord of right side of key in inches
ky_lo Y coord of bottom of key in inches
ky_hi Y coord of topof key in inches

Solution:

The figure above was created with:

use coads_climatology
set region/x=50w:90e/y=60s:50n
shade/set_up/nokey sst[l=1]
ppl shakey 1, 1, 0.08, , 3, 6, 5.2, 5.8, 3.3, 5.9
ppl shade