- Timestamp:
- Sep 26, 2013, 3:24:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_work/development/gareth/tests/runup/runuplot.py
r8353 r8992 8 8 import scipy 9 9 from matplotlib import pyplot as pyplot 10 import util # Routines to read in and work with ANUGA output 10 #import util # Routines to read in and work with ANUGA output 11 from bal_and import plot_utils as util 11 12 12 13 p2=util.get_output('runup_v2.sww', minimum_allowed_height=1.0e-03) … … 58 59 pyplot.plot(p.x[v],p.stage[5,v]) 59 60 pyplot.plot(p.x[v],p.stage[5,v],'o') 60 pyplot.plot(p.x[v],p.elev[ v])61 pyplot.plot(p.x[v],p.elev[5,v]) 61 62 pyplot.xlabel('x (m)') 62 63 pyplot.ylabel('z (m)') … … 91 92 92 93 pyplot.clf() 93 pyplot.scatter(p.x,p.y,c=p.elev ,edgecolors='none', s=25)94 pyplot.scatter(p.x,p.y,c=p.elev[1,],edgecolors='none', s=25) 94 95 pyplot.colorbar() 95 96 #pyplot.quiver(x_cent,y_cent,xvel_cent[15,:],yvel_cent[15,:]) … … 100 101 101 102 pyplot.clf() 102 pyplot.scatter(p.x,p.y,c=p.elev ,edgecolors='none', s=25)103 pyplot.scatter(p.x,p.y,c=p.elev[1,],edgecolors='none', s=25) 103 104 pyplot.colorbar() 104 105 #pyplot.quiver(x_cent,y_cent,xvel_cent[150,:],yvel_cent[150,:]) … … 111 112 pyplot.plot(p.x[v],p.stage[150,v]) 112 113 pyplot.plot(p.x[v],p.stage[150,v],'o') 113 pyplot.plot(p.x[v],p.elev[ v])114 pyplot.plot(p.x[v],p.elev[150,v]) 114 115 pyplot.xlabel('x (m)') 115 116 pyplot.ylabel('z (m)')
Note: See TracChangeset
for help on using the changeset viewer.