Changeset 3256
- Timestamp:
- Jun 29, 2006, 12:59:21 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
documentation/user_manual/examples/runuptest.py
r3254 r3256 110 110 use_cache = True) 111 111 112 from pylab import plot, xlabel, ylabel, title, ion, close, savefig, figure 112 from pylab import plot, xlabel, ylabel, title, ion, close, savefig, figure, axis 113 113 ion() 114 114 … … 129 129 elevation.append(elev) 130 130 depths.append(elev) 131 if w-bed <= 0: 132 count+=1 133 posx=g[0] 134 loc = k 135 #if g[0] < (west+east)/2. and depth <= 0 and count == 0: 136 # count += 1 137 # posx = g[0] 138 # loc = k 139 131 132 if max(stage)-bed <= 0.2: 133 count+=1 134 posx=g[0] 135 loc = k 140 136 maxw.append(max(stage)) 141 137 minw.append(min(stage)) 142 138 maxd.append(max(depths)) 139 143 140 144 141 filename = 'maxrunup'+str(waveheight)+str(depth_east_edge)+'.csv' … … 162 159 ylabel('stage') 163 160 title('Maximum stage for gauge line') 161 #axis([33000, 47000, -1000, 3000]) 164 162 savefig('max_stage') 165 163
Note: See TracChangeset
for help on using the changeset viewer.