[gradsusr] user defined contour labels

Jennifer Adams jma at cola.iges.org
Thu Jan 20 09:09:29 EST 2011


You can use 'set clab Bernd' and all the contour labels will be drawn  
as "Bernd". To get what you want you just have to draw one level at a  
time.
'set clevs 100'
'set clab this'
'd var'
'set clevs 200'
'set clab that'
'd var'
etc.

--Jennifer


set the level
On Jan 20, 2011, at 5:51 AM, Becker, Bernd wrote:

>
>
> Hello,
> I am looking for succinct way to specify user define labels on a  
> contour
> plot.
>
> My 2p so far:
>
> lab=0
> while ( lab < 7 )
>
> * every 5 days
> delta =lab*5
> pent  =newdate(fxdate, delta)
> mmdd  =substr(pent  ,5,8)
> label =mmdd
> * leave space around labels
> 'set clab masked'
> 'set clab 'label
> say 'set clab 'label
> 'set clevs ' delta
> 'set ccols ' 1
> 'd onset3'
>
> lab=lab+1
> endwhile
>
> My preferred solution:
>
> set clevs 5 10 15 20 25
> set ccols 1 1  1  1   1
> and here I need your help:
> set clabs  bob rudy lisa refrigerator 4721
>
> Does this exist? If not, it may need to be invented.
>
> Many thanks!
> Bernd.
>
> --
> Bernd Becker   Climate Impacts Product Development
> Met Office Hadley Centre    FitzRoy Road  Exeter   Devon EX1 3PB   
> United
> Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.gov.uk -
> http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/
> bernd-becker
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110120/83cbd39c/attachment-0003.html 


More information about the gradsusr mailing list