Changeset 613 for trunk/UTIL
- Timestamp:
- Apr 4, 2012, 4:36:50 PM (13 years ago)
- Location:
- trunk/UTIL/PYTHON
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/myplot.py
r612 r613 318 318 subv = 3 319 319 subh = 1 320 fig.subplots_adjust( wspace = 0.5)320 fig.subplots_adjust(hspace = 0.5) 321 321 rcParams['font.size'] = int( rcParams['font.size'] * 1. / 2. ) 322 322 elif numplot == 4: -
trunk/UTIL/PYTHON/planetoplot.py
r612 r613 244 244 elif axtime == "sol": time = soltab 245 245 else: 246 if "Times" in nc. variables: time = count + np.arange(0,len(nc.variables["Times"]),1)247 elif "Time" in nc. variables: time = count + np.arange(0,len(nc.variables["Time"]),1)248 else: time = count + np.arange(0,1,1)246 if "Times" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Times"]),1) 247 elif "Time" in nc.dimensions: time = count + np.arange(0,len(nc.dimensions["Time"]),1) 248 else: time = count + np.arange(0,1,1) 249 249 if ope in ["cat"]: 250 250 if nnn > 0: count = time[-1] + 1 ## so that a cat is possible with simple subscripts
Note: See TracChangeset
for help on using the changeset viewer.