Changeset 143 for trunk


Ignore:
Timestamp:
06/17/09 16:56:03 (15 years ago)
Author:
ericg
Message:

Added mean and time RMS in figure filleg in t_<box> plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/plt_map.pro

    r141 r143  
    790790          IF debug_w THEN BEGIN 
    791791             print, '   Plot type (plttyp) = ', plttyp 
    792              stop 
     792;             stop 
    793793          ENDIF  
    794794         Case plttyp OF  
     
    10011001            ; define additional text for pltt 
    10021002               @add_txt_pltt 
     1003 
     1004            ; compute mean and time rms if hoytp='t' 
     1005               IF hotyp EQ 't' THEN BEGIN   
     1006                  IF field.dim EQ 3 THEN BEGIN  
     1007                     zmeant = grossemoyenne(fld, 'xy', boite = boite_pltt, /NAN)  
     1008                  ENDIF ELSE BEGIN  
     1009                     zmeant = grossemoyenne(fld, 'xyz', boite = boite_pltt, /NAN) 
     1010                  ENDELSE  
     1011                  zmean = total(zmeant)/float(jpt) 
     1012                  zrms = sqrt(total(zmeant^2))/float(jpt) 
     1013                  filleg = filleg+' [time mean='+string(strtrim(zmean, 2))+'/ time rms of '+legbox+' ave.='+string(strtrim(zrms, 2))+']' 
     1014               ENDIF  
    10031015            ; repeat for seasonal mean 
    10041016               CASE cmd.timave OF  
Note: See TracChangeset for help on using the changeset viewer.