Changeset 2256 in lmdz_wrf
- Timestamp:
- Nov 28, 2018, 8:21:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing_tools.py
r2255 r2256 7863 7863 # flow direction 7864 7864 7865 fig, ax = plt.subplots(1,1) 7866 7867 plt.subplot(1,1,1) 7868 dfig = np.sqrt(fig.get_figwidth()**2 + fig.get_figheight()**2)/fig.get_dpi() 7869 7865 7870 plt.rc('text', usetex=True) 7866 7871 … … 8022 8027 # Sea-flow 8023 8028 ddist = np.sqrt((xmax-xmin)**2+(ymax-ymin)**2) 8024 msize = d dist*0.5/lengthtrac8029 msize = dfig*ddist*0.5/lengthtrac 8025 8030 for i in range(len(xlabpos)): 8026 8031 if flowvals[i] == 97:
Note: See TracChangeset
for help on using the changeset viewer.