Changeset 1159 for trunk/UTIL
- Timestamp:
- Jan 15, 2014, 10:22:50 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UTIL/PYTHON/planetoplot_v2/ppplot.py
r1131 r1159 758 758 #mertab = np.r_[wlon[0]:wlon[1]:steplon] ; merlab = [0,0,0,1] 759 759 #partab = np.r_[wlat[0]:wlat[1]:steplat] ; parlab = [1,0,0,0] 760 if steplon < 1: steplon = 1 761 if steplat < 1: steplat = 1 760 762 if np.abs(wlon[0]) < 180.1 and np.abs(wlon[1]) < 180.1: 761 763 mertab = np.r_[-180.:180.:steplon] … … 882 884 if x.ndim < 2 and y.ndim < 2: x,y = np.meshgrid(x,y) 883 885 # reference vector is scaled 884 if self.wscale is None: 886 if self.wscale is None: 885 887 self.wscale = ppcompute.mean(np.sqrt(self.vx*self.vx+self.vy*self.vy)) 886 888 # make vector field
Note: See TracChangeset
for help on using the changeset viewer.