[Thread Prev][Thread Next][Index]

Re: [ferret_users] Setting shade palette then using PPL

One more detail.  If you use SHADE/SET/PALETTE=   then the palette setting should not need to be set among the PPL commands after SHADE/SET.  It turns out that if you specify the name without the ".spk" then everything works as expected.  I haven't looked into why this is the case.

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

On 1/9/2018 1:22 PM, William Kessler wrote:
There are two options:

1) Issue a plotting command for immediate execution using the default labels and etc.

2) Set up for later execution with the /SET qualifier. Do this if you want to issue plot customization commands. Following the customizations, draw the plot with PPL SHADE, PLOT, FILL, etc

Customizations could be specifying the axis label formats or label text that are particular to the plot and not persistent.


On Jan 9, 2018, at 12:02 PM, Paul Goddard <pgoddard@xxxxxxxxxxxxxxxxx> wrote:

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