Changeset 453 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Dec 5, 2011, 2:50:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r451 r453 55 55 flagnolow=False,\ 56 56 mrate=None,\ 57 mquality=False): 57 mquality=False,\ 58 trans=1): 58 59 59 60 … … 363 364 #zelevels = np.linspace(zevmin*(1. + 1.e-7),zevmax*(1. - 1.e-7)) #,num=20) 364 365 zelevels = np.linspace(zevmin,zevmax,num=ticks) 365 if mapmode == 1: m.contourf( x, y, what_I_plot_frame, zelevels, cmap = palette )366 elif mapmode == 0: contourf( x, y, what_I_plot_frame, zelevels, cmap = palette )366 if mapmode == 1: m.contourf( x, y, what_I_plot_frame, zelevels, cmap = palette, alpha=trans) 367 elif mapmode == 0: contourf( x, y, what_I_plot_frame, zelevels, cmap = palette, alpha=trans) 367 368 else: 368 if mapmode == 1: m.pcolor( x, y, what_I_plot_frame, cmap = palette, vmin=zevmin, vmax=zevmax )369 elif mapmode == 0: pcolor( x, y, what_I_plot_frame, cmap = palette, vmin=zevmin, vmax=zevmax )369 if mapmode == 1: m.pcolor( x, y, what_I_plot_frame, cmap = palette, vmin=zevmin, vmax=zevmax ,alpha=trans) 370 elif mapmode == 0: pcolor( x, y, what_I_plot_frame, cmap = palette, vmin=zevmin, vmax=zevmax ,alpha=trans) 370 371 if colorb != 'nobar': 371 372 if (fileref is not None) and (index_f is numplot-1): daformat = "%.3f"
Note: See TracChangeset
for help on using the changeset viewer.