Changeset 9150


Ignore:
Timestamp:
Jun 13, 2014, 5:23:39 PM (10 years ago)
Author:
steve
Message:

Picked up an error in plot_results.py (maybe a change with updated numpy?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/analytical_exact/rundown_mild_slope_coarse/plot_results.py

    r9056 r9150  
    5353pyplot.clf()
    5454
    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
     56print (p2.x[v].min(),p2.x[v].max())
     57print (p2.stage[:,v]-p2.elev[v]).max()
     58print (p2.stage[:,v]-p2.elev[v]).min()
     59
     60line, = pyplot.plot( (p2.x[v].min(),p2.x[v].max()) ,( (p2.stage[:,v]-p2.elev[v]).max(),(p2.stage[:,v]-p2.elev[v]).min() ) )
    5661line.set_label('numerical')
    57 pyplot.plot( (0,100),(dana,dana), 'r',label='analytical' )
     62pyplot.plot( (0,140),(dana,dana), 'r',label='analytical' )
    5863pyplot.yscale('log')
    5964pyplot.legend()
Note: See TracChangeset for help on using the changeset viewer.