Hi Nandini,
When you do a plot/ribbon/set, and make pplus calls to customize the
plot, then finish with "PPL RIBBON". For instance to locate the key
above the plot:
use coads_climatology
ribbon/thick/Y=0/L=6/set sst, speh
ppl shakey,1,0
ppl ribbon
and all the various SHAKEY settings should work as always. Our
apologies for the omission in the documentation. We'll get that
added.
Note that starting with Ferret v6.93 there's some basic control of
the color key using /KEY=keyword on the plot command itself, for
RIBBON and FILL and all the commands that have a color key
http://ferret.pmel.noaa.gov/Ferret/documentation/release-notes/version-6-93-release-notes
RIBBON/KEY=CONTINUOUS
Chooses a continuous color key for the palette
used in a color-filled contour plot, without lines separating
the colors. This option is particularly good for fill plots
having many levels.
RIBBON/KEY=HORIZONTAL
Draws a horizontal key just above a color fill
plot.
RIBBON/KEY=CENTERLAB
Labels the color key in the colored sections of the
key rather than at the default location at the line dividing
one color from the next. The levels controls do not change for
this style, only the locations of the labels on the key.
On 3/27/2015 2:24 PM, Nandini Ramesh
wrote:
Hi,
I am trying to find a way to control the position and size
of the colorbar that comes with "ribbon" plots (i.e., using
plot/ribbon/vs). I found nothing that helped with this in the
documentation.
When I use the shade or fill commands, is use the qualifier
/set_up, followed by a line using ppl shakey, and then ppl
shade or fill (as shown in the documentation here: http://ferret.pmel.noaa.gov/Ferret/faq/modifying-the-shade-key).
I tried using this, followed by "ppl plot", but it does not
make a colorbar appear. I also tried changing it to "ppl
shade" and "ppl fill", but these did not work either.
Has anyone found a way to adjust the colorbar with ribbon
plots?
Thank you very much,
Nandini
|