Changeset 3256


Ignore:
Timestamp:
Jun 29, 2006, 12:59:21 PM (18 years ago)
Author:
sexton
Message:

fixups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/user_manual/examples/runuptest.py

    r3254 r3256  
    110110                  use_cache = True)
    111111
    112 from pylab import plot, xlabel, ylabel, title, ion, close, savefig, figure
     112from pylab import plot, xlabel, ylabel, title, ion, close, savefig, figure, axis
    113113ion()
    114114
     
    129129        elevation.append(elev)
    130130        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 
    140136    maxw.append(max(stage))
    141137    minw.append(min(stage))
    142138    maxd.append(max(depths))
     139   
    143140
    144141filename = 'maxrunup'+str(waveheight)+str(depth_east_edge)+'.csv'
     
    162159ylabel('stage')
    163160title('Maximum stage for gauge line')
     161#axis([33000, 47000, -1000, 3000])
    164162savefig('max_stage')
    165163
Note: See TracChangeset for help on using the changeset viewer.