Changeset 427 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Nov 30, 2011, 10:05:32 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r426 r427 280 280 if var2 == 'HGT': zelevels = np.arange(-10000.,30000.,2000.) 281 281 if mapmode == 0: 282 x, y = define_axis(lon,lat,vert,time,indexlon,indexlat,indexvert,\283 indextime,what_I_plot .shape, len(all_var2[index_f].shape),vertmode)282 what_I_plot, x, y = define_axis(lon,lat,vert,time,indexlon,indexlat,indexvert,\ 283 indextime,what_I_plot, len(all_var2[index_f].shape),vertmode) 284 284 ### If we plot a 2-D field 285 285 if len(what_I_plot.shape) is 2: 286 286 cs = contour(x,y,what_I_plot, zelevels, colors='k', linewidths = 1 ) #0.33 colors='w' )# , alpha=0.5) 287 #if typefile in ['gcm']: clabel(cs,fmt = '%1.2e') 287 # clabel(cs,#zelevels[::2], 288 # inline=3, 289 # fmt='%1.1e', 290 # fontsize=7) 288 291 ### If we plot a 1-D field 289 292 elif len(what_I_plot.shape) is 1:
Note: See TracChangeset
for help on using the changeset viewer.