[gradsusr] user defined contour labels

Becker, Bernd bernd.becker at metoffice.gov.uk
Thu Jan 20 05:51:17 EST 2011



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





More information about the gradsusr mailing list