Changeset 1249 in lmdz_wrf for trunk/tools/drawing_tools.py
- Timestamp:
- Oct 31, 2016, 9:10:44 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r1241 r1249 3717 3717 lat2 = (lonlatLims[1] + lonlatLims[3])/2. 3718 3718 else: 3719 nlon = lon0[0,0]3720 xlon = lon0[dy-1,dx-1]3721 nlat = lat0[0,0]3722 xlat = lat0[dy-1,dx-1]3719 nlon = np.min(lon0) 3720 xlon = np.max(lon0) 3721 nlat = np.min(lat0) 3722 xlat = np.max(lat0) 3723 3723 lon2 = lon0[dy/2,dx/2] 3724 3724 lat2 = lat0[dy/2,dx/2] … … 3771 3771 3772 3772 figname = 'domain' 3773 graphtit = g tit.replace('_','\_')3773 graphtit = gen.latex_text(gtit) 3774 3774 cbar.set_label('height ($m$)') 3775 3775 3776 plt.title(graphtit .replace('_','\_').replace('&','\&'))3776 plt.title(graphtit) 3777 3777 3778 3778 output_kind(kfig, figname, closeif)
Note: See TracChangeset
for help on using the changeset viewer.