Changeset 9150
- Timestamp:
- Jun 13, 2014, 5:23:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/validation_tests/analytical_exact/rundown_mild_slope_coarse/plot_results.py
r9056 r9150 53 53 pyplot.clf() 54 54 55 line, = pyplot.plot( (p2.x[v].min(),p2.x[v].max()) ,( (p2.stage[:,v]-p2.elev[:,v]).max(),(p2.stage[:,v]-p2.elev[v]).min() ) ) 55 56 print (p2.x[v].min(),p2.x[v].max()) 57 print (p2.stage[:,v]-p2.elev[v]).max() 58 print (p2.stage[:,v]-p2.elev[v]).min() 59 60 line, = pyplot.plot( (p2.x[v].min(),p2.x[v].max()) ,( (p2.stage[:,v]-p2.elev[v]).max(),(p2.stage[:,v]-p2.elev[v]).min() ) ) 56 61 line.set_label('numerical') 57 pyplot.plot( (0,1 00),(dana,dana), 'r',label='analytical' )62 pyplot.plot( (0,140),(dana,dana), 'r',label='analytical' ) 58 63 pyplot.yscale('log') 59 64 pyplot.legend()
Note: See TracChangeset
for help on using the changeset viewer.