Changeset 187 for trunk/MESOSCALE/PLOT/PYTHON/mylib
- Timestamp:
- Jul 3, 2011, 4:53:57 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/PLOT/PYTHON/mylib/myplot.py
r186 r187 155 155 import matplotlib.pyplot as plt 156 156 import numpy as np 157 posx = np.max(x) + np.std(x) / 3. ## pb pour les domaines globaux ...158 posy = np.mean(y)157 #posx = np.max(x) + np.std(x) / 3. ## pb pour les domaines globaux ... 158 #posy = np.mean(y) 159 159 #posx = np.min(x) 160 160 #posy = np.max(x) 161 #posx = np.max(x) - np.std(x) / 10. 162 #posy = np.max(y) + np.std(y) / 10. 163 posx = np.min(x) - np.std(x) / 10. 164 posy = np.min(y) - np.std(y) / 10. 161 165 u = smooth(u,csmooth) 162 166 v = smooth(v,csmooth) … … 172 176 else: kcolor=color 173 177 if key: p = plt.quiverkey(q,posx,posy,scale,\ 174 str(int(scale)),coordinates='data',color=kcolor )178 str(int(scale)),coordinates='data',color=kcolor,labelpos='S') 175 179 return 176 180
Note: See TracChangeset
for help on using the changeset viewer.