[Thread Prev][Thread Next][Index]

Re: Dynamic Color Key Sizing



Graham,

Try this

let plot_area_width = ($ppl$width)

or just use the symbol in the ppl shakey command.

ppl shakey ...,`($ppl$width)`,...


The documentation for this is at:

http://ferret.wrc.noaa.gov/Ferret/Documentation/Users_Guide/v50/chapter7.html#_1_190


-- Jonathan Callahan


Graham Gladman wrote:
> 
> 
> Ferreteers,
> 
> I wish to determine the size of my key dynamically, which has lead me
> into a whole host of PPL documentation/commands. The main problem
> I have is:
> 
> How do I assign standard Ferret variables to PPL symbols. Say I want
> the plot area width (the PPL symbol PPL$WIDTH) as a float in the local
> variable plot_area_width (defined by me). I can find the value using
> (ppl show ppl$width) but can't seem to assign it. I can't use:
> 
> let plot_area_width = ppl$width
> 
> or
> 
> ppl set plot_area_width ppl$width
> 
> as neither seem to work. Once this has been done I can then use
> 
> ppl shakey,,.....,,xmarg,`plot_area_width-3`,...... to produce my key
> as required.
> 
> 
> Any help appreciated,
> 
> Graham Gladman
> 
> --
> *********************************************************************
> 409 London Road                         Department Of Meteorology
> Reading                                 University Of Reading
> Berkshire                               Earley Gate
> RG1 3PE                                 PO BOX 243
>                                         Reading
> Tel: (0118) 901 1760                    Berkshire
> Mobile: (0467) 861146                   RG6 6BB
> 
> Email: swr97gjg@met.reading.ac.uk       Work Tel: (0118) 9875123
>                                         Extension: 4284
> *********************************************************************
> 
>


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement