- Timestamp:
- Dec 23, 2013, 10:06:13 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r1117 r1131 313 313 if includedate: 314 314 for ttt in timelib.gmtime(): 315 name = name + "_" + str(ttt)315 name = name + "_" + "%03d" % (ttt) 316 316 name = name +"."+mode 317 317 ## save file … … 322 322 else: 323 323 # ... mapping mode, adapted space for labels etc... 324 # TBD: not impacted by pad_inches_value. why? 324 325 mpl.savefig(name,dpi=res) 325 326 else: … … 762 763 mertab = np.r_[0.:360.:steplon] 763 764 merlab = [0,0,0,1] 764 partab = np.r_[-90.:90. :steplat] ; parlab = [1,0,0,0]765 partab = np.r_[-90.:90.+steplat:steplat] ; parlab = [1,0,0,0] 765 766 format = '%.1f' 766 767 # -- center of domain and bounding lats … … 779 780 if self.proj in ["robin"]: steplon = 90. 780 781 mertab = np.r_[-360.:360.:steplon] 781 partab = np.r_[-90.:90. :steplat]782 partab = np.r_[-90.:90.+steplat:steplat] 782 783 if self.proj == "ortho": 783 784 merlab = [0,0,0,0] ; parlab = [0,0,0,0]
Note: See TracChangeset
for help on using the changeset viewer.