Ignore:
Timestamp:
Feb 18, 2007, 8:23:19 AM (18 years ago)
Author:
jack
Message:

Added support for custom opacity for height quantities. See the updated visualise_rectangle.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/examples/visualise_rectangle.py

    r3966 r4267  
    4949# Remember to set dynamic=True for time-varying quantities
    5050v.render_quantity_height("elevation", dynamic=False)
    51 v.render_quantity_height("stage", dynamic=True)
     51# Make the stage semitransparent
     52v.render_quantity_height("stage", opacity=0.5, dynamic=True)
    5253
    5354# Colour the stage:
Note: See TracChangeset for help on using the changeset viewer.