Changeset 886 for trunk/UTIL
- Timestamp:
- Feb 17, 2013, 5:47:42 PM (12 years ago)
- Location:
- trunk/UTIL/PYTHON
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r877 r886 663 663 from os import system 664 664 addstr = "" 665 if res is not None :665 if res is not None and disp: 666 666 res = int(res) 667 667 addstr = "_"+str(res) -
trunk/UTIL/PYTHON/planetoplot.py
r877 r886 248 248 step = nc.variables[letime][1] - dafirst 249 249 time = np.arange(dafirst,dalast,step) 250 print "Time (start,stop,nvalues)",dafirst,dalast,timelength 250 251 else: 251 252 ### if the time record is not too long, what follows is pretty quick … … 1008 1009 print "********** SAVE ", save 1009 1010 if save == 'png': 1010 if display: myplot.makeplotres( zeplot,res=100.,pad_inches_value=pad_inches_value) #,erase=True) ## a miniature1011 if display: myplot.makeplotres('.thumb',res=50.,pad_inches_value=pad_inches_value) #,erase=True) ## a miniature 1011 1012 myplot.makeplotres(zeplot,res=resolution,pad_inches_value=pad_inches_value,disp=False) 1012 1013 elif save in ['eps','svg','pdf']: myplot.makeplotres(zeplot,pad_inches_value=pad_inches_value,disp=False,ext=save)
Note: See TracChangeset
for help on using the changeset viewer.