- Timestamp:
- May 14, 2018, 11:58:40 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r1911 r1915 1942 1942 elif u == 'kg m-2 s-1': lu='$kgm^{-2}s^{-1}$' 1943 1943 elif u == 'kg-1 s-1': lu='$kg^{-1}s^{-1}$' 1944 elif u == 'kg/dt_sechiba': lu='$kgdt_{sechiba}^{-1}$' 1944 1945 elif u == 'kmh-1': lu='$kmh^{-1}$' 1945 1946 elif u == 'km h-1': lu='$km h^{-1}$' … … 4504 4505 4505 4506 figname = '2Dfields_shadow' 4506 graphtit = gen.latex_text(vtit) 4507 4508 plt.title(gen.latex_text(graphtit)) 4507 #graphtit = gen.latex_text(vtit) 4508 plt.title(gen.latex_text(vtit)) 4509 4509 4510 4510 output_kind(kfig, figname, ifclose) … … 11061 11061 'is has to be 2D!!' 11062 11062 quit(-1) 11063 axes[irow,icol] = plt.subplot(Nrow ,Ncol, iv+1) 11063 11064 if len(axes.shape) > 1: 11065 axes[irow,icol] = plt.subplot(Nrow ,Ncol, iv+1) 11066 else: 11067 if Ncol > 1: axes[icol] = plt.subplot(Nrow ,Ncol, iv+1) 11068 elif Nrow > 1: axes[irow] = plt.subplot(Nrow ,Ncol, iv+1) 11069 11064 11070 im = plt.pcolormesh(x, y, varsv, cmap=plt.get_cmap(cbarv[0]), vmin=vsend[0], \ 11065 11071 vmax=vsend[1])
Note: See TracChangeset
for help on using the changeset viewer.