Changeset 2255 in lmdz_wrf
- Timestamp:
- Nov 28, 2018, 7:36:44 PM (6 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/drawing.py
r2254 r2255 11071 11071 [barcolordescid, rivercolor, rivernocolor, riverwidth, rivercolortype] = \ 11072 11072 rivervalues.split('|') 11073 riverwidth = np.float(riverw dith)11073 riverwidth = np.float(riverwidth) 11074 11074 11075 11075 if stationvalues == 'None': -
trunk/tools/drawing_tools.py
r2252 r2255 8021 8021 8022 8022 # Sea-flow 8023 ddist = np.sqrt((xmax-xmin)**2+(ymax-ymin)**2) 8024 msize = ddist*0.5/lengthtrac 8023 8025 for i in range(len(xlabpos)): 8024 8026 if flowvals[i] == 97: 8025 8027 plt.plot(xlabpos[i], ylabpos[i], 'x', color=colortrack[i], \ 8026 markersize= lengthtrac2)8028 markersize=msize) 8027 8029 elif flowvals[i] == 98: 8028 8030 plt.plot(xlabpos[i], ylabpos[i], '*', color=colortrack[i], \ 8029 markersize= lengthtrac2)8031 markersize=msize) 8030 8032 elif flowvals[i] == 99: 8031 8033 plt.plot(xlabpos[i], ylabpos[i], 'h', color=colortrack[i], \ 8032 markersize= lengthtrac2)8034 markersize=msize) 8033 8035 8034 8036 plt.xlim(xmin,xmax)
Note: See TracChangeset
for help on using the changeset viewer.