Changeset 613
- Timestamp:
- Apr 4, 2012, 4:36:50 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/RUN/vert_level/levspe.pro
r11 r613 12 12 ; 13 13 !p.multi=[0,2,2] 14 ;!p.multi=[0,1,4] 15 16 !p.charthick = 2.0 17 !p.thick = 5.0 18 !x.thick = 2.0 19 !y.thick = 2.0 20 21 22 14 23 set_plot, 'ps' 15 device, file='plot.ps', /landscape 16 tinv=5 ;; intervalle plot 24 device, file='plot.ps' ;, /landscape 25 26 tinv=10 ;; intervalle plot 17 27 hache=10. ;; scale height 18 28 psurf=610. ;; pression surface -- ne change pas les eta levels … … 66 76 ; PLOT 67 77 ; 68 plot, x, etas, title='ETA '+param, xtickinterval=tinv 69 !psym=7 & oplot, x, etas 70 !psym=0 71 plot, x, pseudo, title='ALTITUDE (km)', xtickinterval=tinv 72 !psym=7 & oplot, x, pseudo 73 !psym=0 74 plot, x, pi, title='PRESSURE (Pa)', ylog=1, xtickinterval=tinv 75 !psym=7 & oplot, x, pi 76 !psym=0 78 ;plot, x, etas, title='ETA '+param, xtickinterval=tinv 79 plot, x, etas, title='ETA LEVELS', xtickinterval=tinv, psym=3 80 ;!psym=3 & oplot, x, etas 81 ;!psym=0 82 plot, x, pseudo, title='ALTITUDE (km)', xtickinterval=tinv, psym=3 83 ;!psym=3 & oplot, x, pseudo 84 ;!psym=0 85 plot, x, pi, title='PRESSURE (Pa)', ylog=1, xtickinterval=tinv, psym=3 86 ;!psym=3 & oplot, x, pi 87 ;!psym=0 77 88 ; 78 89 diff=pseudo - shift(pseudo,-1) & diff=-diff(0:nlev-2) 79 90 ; 80 plot, x, ecart, title='ECART (km, L=theor x=calc)', xtickinterval=tinv 81 !psym=7 & oplot, x, diff 82 !psym=0 91 ;plot, x, ecart, title='ECART (km, L=theor x=calc)', xtickinterval=tinv 92 ;plot, x, ecart, title='d ALTITUDE (km)', xtickinterval=tinv, psym=1 93 plot, x, diff, title='d ALTITUDE (km)', xtickinterval=tinv, psym=3 94 ;!psym=3 & oplot, x, diff 95 ;!psym=0 83 96 84 97 -
trunk/UTIL/PYTHON/myplot.py
r612 r613 318 318 subv = 3 319 319 subh = 1 320 fig.subplots_adjust( wspace = 0.5)320 fig.subplots_adjust(hspace = 0.5) 321 321 rcParams['font.size'] = int( rcParams['font.size'] * 1. / 2. ) 322 322 elif numplot == 4: -
trunk/UTIL/PYTHON/planetoplot.py
r612 r613 244 244 elif axtime == "sol": time = soltab 245 245 else: 246 if "Times" in nc. variables: time = count + np.arange(0,len(nc.variables["Times"]),1)247 elif "Time" in nc. variables: time = count + np.arange(0,len(nc.variables["Time"]),1)248 else: time = count + np.arange(0,1,1)246 if "Times" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Times"]),1) 247 elif "Time" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Time"]),1) 248 else: time = count + np.arange(0,1,1) 249 249 if ope in ["cat"]: 250 250 if nnn > 0: count = time[-1] + 1 ## so that a cat is possible with simple subscripts
Note: See TracChangeset
for help on using the changeset viewer.