Changeset 4960 for anuga_work/development/shallow_water_1d/dry_dam_sudi.py
- Timestamp:
- Jan 19, 2008, 8:03:51 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/shallow_water_1d/dry_dam_sudi.py
r4959 r4960 124 124 XmomQ = domain.quantities['xmomentum'].vertex_values 125 125 h, uh = analytical_sol(X.flat,domain.time) 126 126 x = X.flat 127 127 128 from pylab import plot,title,xlabel,ylabel,legend,savefig,show,hold,subplot 128 print 'test 2'129 print 'test 2' 129 130 hold(False) 130 131 print 'test 3' 131 132 plot1 = subplot(211) 132 133 print 'test 4' 133 plot( X,h,X,StageQ)134 plot(x,h,x,StageQ.flat) 134 135 print 'test 5' 135 136 plot1.set_ylim([-1,11]) … … 139 140 'upper right', shadow=True) 140 141 plot2 = subplot(212) 141 plot( X,uh,X,XmomQ)142 plot(x,uh,x,XmomQ.flat) 142 143 plot2.set_ylim([-35,35]) 143 144
Note: See TracChangeset
for help on using the changeset viewer.