Changeset 822 for trunk/UTIL/PYTHON/planetoplot.py
- Timestamp:
- Oct 29, 2012, 12:19:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot.py
r817 r822 248 248 if initime == -1: initime=input("Please type initial local time:") 249 249 time = (initime+time*24)%24 ; print "LOCAL TIMES.... ", time 250 ### (simply ask for subscript) 251 if axtime in ["ind"]: 252 dadim = getdimfromvar(nc) 253 if len(dadim) == 4: time = np.arange(dadim[-4]) 254 elif len(dadim) == 3: time = np.arange(dadim[-3]) 255 elif len(dadim) == 2: time = np.arange(dadim[-2]) 250 256 251 257 ### TYPE 2 : MESOSCALE FILES … … 630 636 if indextime is None and axtime is not None and xlab is None: xlabel(axtime.upper()) ## define the right label 631 637 if save == 'txt': writeascii(np.transpose([x,np.transpose(what_I_plot)]),'profile'+str(nplot*1000+imov)+'.txt') 632 if axtime == "lt" :638 if axtime == "lt" and indextime is None: 633 639 ax = mpl.pyplot.gca() 634 640 # set ticks where your images will be
Note: See TracChangeset
for help on using the changeset viewer.