[Thread Prev][Thread Next][Index]

RE: [ferret_users] PPL Shade



Hi Ansley and Billy,

 

Thank-you both for the suggestions, they are very helpful. I like the multiple viewports idea however I’m a bit dumbfounded on how to make a nice customised legend when there are multiple viewports (and datasets!). For now I’ve gone with the shade/over and then used annotate for a legend, shakey was really not agreeing with me.

 

Once again everything’s much appreciated.

 

Best,

Josh

 

Sent from Mail for Windows 10

 


From: owner-ferret_users@xxxxxxxx <owner-ferret_users@xxxxxxxx> on behalf of Ansley C. Manke <ansley.b.manke@xxxxxxxx>
Sent: Tuesday, June 25, 2019 5:58:13 PM
To: ferret_users@xxxxxxxx
Subject: Re: [ferret_users] PPL Shade
 

Josh,

I think the answer for these commands is PPL SHADE/OVER


I can think of other ways to deal with this - here's a way to draw them all with one color key.  Try this example for the general idea:

use coads_climatology
shade/pal=ten_by_levels/lev=(1,5,1) if sst[l=1] then 1
shade/over/nolab/pal=ten_by_levels/lev if sst[l=1] gt 15 then 2
shade/over/nolab/pal=ten_by_levels/lev if sst[l=1] gt 20 then 3
shade/over/nolab/pal=ten_by_levels/lev if sst[l=1] gt 25 then 4

Customize the title and labels on the colorbar, perhaps by changing the label size or label increment so the labels don't show up and then add custom labels.


On 6/25/2019 8:04 AM, JoshAB1995@xxxxxxxxxxx wrote:
Hi guys,

Probably a simple solution but i can't find it in the documentation, apologies if I've missed it. 

I am mapping 4 separate shapefiles using sha/overlay and each has a specific colour.

Sha/pal=red SHAPEFILE
Sha/overlay/pal=blue SHAPEFILE2
ppl shakey
ppl shade

When trying to add a legend describing what each colour refers to i have to use shakey (i think, at least to have it nicely customisable but i am open to suggestions!). 
However this forces me to use ppl shade, which resets the colours I've used for the figure and results in only my last overlay showing up.

Any quick fixes for this one?

Many thanks,
Josh 
--
Ansley Manke
NOAA/PMEL Science Data Integration Group
7600 Sand Point Way NE
206-526-6246

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

Privacy Policy | Disclaimer | Accessibility Statement