[Thread Prev][Thread Next][Index]

[ferret_users] labels : number format



        Hi all,

I have a question on number format : I want to add a label on a plot with the averaged value of the variable :
...
let moy = var[x=$lonmin:$lonmax@AVE,y=$latmin:$latmax@AVE,z=$depth,t=$time]
label/nouser `($ppl$xlen)`, `-1.25`, 0, 0, 0.12, "@ACaverage   = `moy`"
...
Is there a way to format the `moy` in order to have the same number format (like 21.68 and not 21.6859652, always xx.xx and not xx.xxxx).

Thanks in advance for your contribution,
Tony

-- 
Tony JOLIBOIS

CLS Space oceanography Division
Product Information and Diffusion
8-10 rue Hermes,
31526 Ramonville-St-Agne, Cedex, France

Email: tjolibois@cls.fr
Tel: (+33) (0) 561 394 797
http://www.cls.fr
http://www.mercator-ocean.fr

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement