Changeset 9161 for trunk/anuga_core/source/anuga/utilities/plot_utils.py
- Timestamp:
- Jun 16, 2014, 5:23:49 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/utilities/plot_utils.py
r9160 r9161 877 877 yllcorner=p2.yllcorner 878 878 879 if(myTimeStep=='all'): 879 #if(myTimeStep=='all'): 880 # myTimeStep=range(len(p2.time)) 881 #elif(myTimeStep=='last'): 882 # # This is [0]! 883 # myTimeStep=[len(p2.time)-1] 884 885 # Now, myTimeStep just holds indices we want to plot in p2 886 if(myTimeStep!='max'): 880 887 myTimeStep=range(len(p2.time)) 881 elif(myTimeStep=='last'):882 # This is [0]!883 myTimeStep=[len(p2.time)-1]884 888 885 889 # Ensure myTimeStep is a list
Note: See TracChangeset
for help on using the changeset viewer.