Ignore:
Timestamp:
Jan 19, 2008, 8:03:51 PM (16 years ago)
Author:
steve
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/development/shallow_water_1d/dry_dam_sudi.py

    r4959 r4960  
    124124    XmomQ = domain.quantities['xmomentum'].vertex_values
    125125    h, uh = analytical_sol(X.flat,domain.time)
    126  
     126    x = X.flat
     127   
    127128    from pylab import plot,title,xlabel,ylabel,legend,savefig,show,hold,subplot
    128     print 'test2'
     129    print 'test 2'
    129130    hold(False)
    130131    print 'test 3'
    131132    plot1 = subplot(211)
    132133    print 'test 4'
    133     plot(X,h,X,StageQ)
     134    plot(x,h,x,StageQ.flat)
    134135    print 'test 5'
    135136    plot1.set_ylim([-1,11])
     
    139140           'upper right', shadow=True)
    140141    plot2 = subplot(212)
    141     plot(X,uh,X,XmomQ)
     142    plot(x,uh,x,XmomQ.flat)
    142143    plot2.set_ylim([-35,35])
    143144   
Note: See TracChangeset for help on using the changeset viewer.