[Thread Prev][Thread Next][Index]

[ferret_users] Re: Fill a hatched grid over areas of significance




Hi Iris,

If you have a look at the script $FER_DIR/go/fland.jnl you can see how transparency can be achieved for both ferret and pyferret.

...
! transparency:
! in PyFerret use an opacity setting.
! in Ferret do a "checkerboard" plot which works in all plot modes.

if ($3"0|transparent>1|*>0") then
  if ($program_name"0|PyFerret>1|*>0") THEN
     define symbol fland_qual = /opacity=50
  else
     let ii = i[gx=rose]
     let jj = j[gy=rose]
     let plot_var = if mod(ii+jj,3) eq 0 then rose
   endif
endif
...


Also you will want to do a SHADE overlay with a single colour rather than FILL

so something like

SHADE/over/opacity=50/pal=gray/nolab/nokey msl_signif_95

is probably what you want

Cheers,
Russ

From: owner-ferret_users@xxxxxxxx <owner-ferret_users@xxxxxxxx> on behalf of 'Manola, I.' via _OAR PMEL Ferret Users <ferret_users@xxxxxxxx>
Sent: Thursday, 21 May 2020 5:59 AM
To: 'Manola, I.' via _OAR PMEL Ferret Users <ferret_users@xxxxxxxx>
Subject: [ferret_users] Fill a hatched grid over areas of significance
 
Dear Ferret people,

I would like to plot the anomalies of a field and plot over it the areas of significance either with a hatched grid or dots. In the new version of PyFerret the option of plotting a pattern is not available:

yes? fill msl_anom
yes? fill/over/pat=large_grid msl_signif_95
 **ERROR: invalid command: PATTERN style is not available in PyFerret

My significance variable (msl_signif_95) is already a mask.

Any ideas of how could I plot the areas of significance alternatively?

Thanks,
Iris

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

Privacy Policy | Disclaimer | Accessibility Statement