[Thread Prev][Thread Next][Index]

Re: [ferret_users] Setting shade palette then using PPL

Hey Judy,

You'll need to add "set" to your first line:
shade/set/pal=blue_red_centered.spk/lev=(-inf)(-6)(-5,5,0.5)/nol temdiff

Adding set seems to let Ferret know that there will be a list of ppl commands to follow. Then you end your code with "ppl shade" to let Ferret know you are all done with ppl commands and it is time to plot.

There are many ppl commands to help customize figures. see, http://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/appendix-c-ferret-specific-pplus-enhancements/ENHANCED-COMMANDS-DESCRIPTION


On Tue, Jan 9, 2018 at 1:45 PM, Judy Gaukel <judy@xxxxxxxx> wrote:
  This is my code, and I am wondering how to set the palette so my PPL SHADE
command uses the proper palette:

shade/pal=blue_red_centered.spk/lev=(-inf)(-6)(-5,5,0.5)/nol temdiff
ppl hlabs 1,.18
ppl rlabs 1,0
ppl shade

This is inherited code and I'm not 100% sure -- other than specifying the labels
with ppl, why ppl shade is necessary, but when I execute it, the ppl shade uses the default ferret color palette..
Thanks for any help!

Judy Illeman Gaukel
Climate, Atmospheric Sciences, and Physical Oceanography
Scripps Institution of Oceanography
9500 Gilman Drive, 0230
La Jolla, CA  92093-0230

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement