Ignore:
Timestamp:
Sep 26, 2013, 3:24:18 PM (12 years ago)
Author:
davies
Message:

Audusse improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_work/development/gareth/tests/runup/runuplot.py

    r8353 r8992  
    88import scipy
    99from 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
     11from bal_and import plot_utils as util
    1112
    1213p2=util.get_output('runup_v2.sww', minimum_allowed_height=1.0e-03)
     
    5859pyplot.plot(p.x[v],p.stage[5,v])
    5960pyplot.plot(p.x[v],p.stage[5,v],'o')
    60 pyplot.plot(p.x[v],p.elev[v])
     61pyplot.plot(p.x[v],p.elev[5,v])
    6162pyplot.xlabel('x (m)')
    6263pyplot.ylabel('z (m)')
     
    9192
    9293pyplot.clf()
    93 pyplot.scatter(p.x,p.y,c=p.elev,edgecolors='none', s=25)
     94pyplot.scatter(p.x,p.y,c=p.elev[1,],edgecolors='none', s=25)
    9495pyplot.colorbar()
    9596#pyplot.quiver(x_cent,y_cent,xvel_cent[15,:],yvel_cent[15,:])
     
    100101
    101102pyplot.clf()
    102 pyplot.scatter(p.x,p.y,c=p.elev,edgecolors='none', s=25)
     103pyplot.scatter(p.x,p.y,c=p.elev[1,],edgecolors='none', s=25)
    103104pyplot.colorbar()
    104105#pyplot.quiver(x_cent,y_cent,xvel_cent[150,:],yvel_cent[150,:])
     
    111112pyplot.plot(p.x[v],p.stage[150,v])
    112113pyplot.plot(p.x[v],p.stage[150,v],'o')
    113 pyplot.plot(p.x[v],p.elev[v])
     114pyplot.plot(p.x[v],p.elev[150,v])
    114115pyplot.xlabel('x (m)')
    115116pyplot.ylabel('z (m)')
Note: See TracChangeset for help on using the changeset viewer.