[Thread Prev][Thread Next][Index]

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