Changeset 1120 in lmdz_wrf for trunk/tools/drawing_tools.py
- Timestamp:
- Sep 30, 2016, 3:41:47 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r1119 r1120 3777 3777 3778 3778 def plot_2D_shadow(varsv,vnames,dimxv,dimyv,dimxu,dimyu,dimn, \ 3779 colorbar, vs,uts,vtit,kfig,reva,mapv,ifclose):3779 colorbar,cbarfmt,vs,uts,vtit,kfig,reva,mapv,ifclose): 3780 3780 """ Adding labels and other staff to the graph 3781 3781 varsv= 2D values to plot with shading … … 3785 3785 dimn= dimension names to plot 3786 3786 colorbar= name of the color bar to use 3787 cbarfmt= format of the numbers in the colorbar 3787 3788 vs= minmum and maximum values to plot in shadow or: 3788 3789 'Srange': for full range … … 4000 4001 4001 4002 plt.pcolormesh(x, y, varsv, cmap=plt.get_cmap(colorbar), vmin=vsend[0], vmax=vsend[1]) 4002 cbar = plt.colorbar( )4003 cbar = plt.colorbar(format=cbarfmt) 4003 4004 4004 4005 if not mapv is None:
Note: See TracChangeset
for help on using the changeset viewer.