Changeset 2755 in lmdz_wrf for trunk/tools
- Timestamp:
- Nov 12, 2019, 3:32:17 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2754 r2755 15076 15076 15077 15077 plt.pcolormesh(x,y,luv,cmap=cmap, vmin=1, vmax=Ncolors) 15078 cbar = plt.colorbar(ticks=np.arange(Ncolors)+0.5) 15078 ccs = np.arange(0.,Ncolors*1.,Ncolors*1/(Ncolors*1.+1.)) 15079 cbar = plt.colorbar(ticks=ccs+0.5) 15079 15080 cbar.ax.set_yticklabels(labs, fontsize=6) 15080 15081
Note: See TracChangeset
for help on using the changeset viewer.