Changeset 344 for trunk/SRC/ToBeReviewed


Ignore:
Timestamp:
04/15/08 13:05:43 (16 years ago)
Author:
smasson
Message:

small improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SRC/ToBeReviewed/PLOTS/legende.pro

    r327 r344  
    8585  IF key_onearth THEN lattitle = 'Latitude' ELSE lattitle = 'j index' 
    8686 
    87   vertz = depthf2 
    88   legniv = ' m' 
    8987  IF keyword_set(TYPE_YZ) THEN BEGIN 
    90     IF type_yz EQ 'hPa' THEN vertz = 'hPa' 
    91     IF type_yz EQ 'hPa' THEN legniv = ' hPa' 
    92   ENDIF 
     88    vertz = type_yz 
     89    legniv = ' '+type_yz 
     90  ENDIF ELSE BEGIN  
     91    vertz = depthf2 
     92    legniv = ' m' 
     93  ENDELSE  
    9394; 
    9495; Start legende 
     
    160161        IF key_onearth THEN !x.title = !x.title+' at '+strtrim(lataxe(0, 0, lat1), 1) ELSE !x.title = !x.title+' at j index '+strtrim(lat1, 1) 
    161162      ENDIF 
    162       !y.title = depthf2 
     163      !y.title = vertz 
    163164    end 
    164165 
     
    203204;         IF keyword_set(npts) THEN n = strtrim(npts, 1) ELSE n=strtrim(nx*ny, 1) 
    204205      !p.title = hovzt+varexp+fieldf+varname 
    205       !y.title = depthf2 
     206      !y.title = vertz 
    206207      IF (time[(size(time))[0]-1] - time[0]) GE 10 THEN !x.title = timef 
    207208    end 
     
    239240      IF keyword_set(npts) THEN n = strtrim(npts, 1) ELSE n = strtrim(nx*ny, 1) 
    240241      !p.title = varexp+datef+svardate+fieldf+varname 
    241       !y.title = depthf2 
     242      !y.title = vertz 
    242243      !x.title = varname 
    243244    end 
Note: See TracChangeset for help on using the changeset viewer.