Changeset 5459 for anuga_work/development/Hinwood_2008/plot.py
- Timestamp:
- Jul 2, 2008, 4:34:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/Hinwood_2008/plot.py
r5455 r5459 14 14 legend_sim='ANUGA simulation', 15 15 legend_exp='Measured flume result', 16 is_interactive=False): 16 is_interactive=False, 17 use_axis=None): 17 18 """ 18 19 """ … … 44 45 legend((legend_sim, legend_exp),'upper left') 45 46 title(plot_title) 46 #axis([0,60,0.380,0.420]) 47 if use_axis is not None: 48 axis(use_axis) 47 49 48 50 if is_interactive: … … 107 109 plot_title = "Scenario: " + outputdir_name + "\n" + \ 108 110 "X Gauge (m):" + str(gauge) + " " + time_date 109 111 if gauge < run_data['axis_maximum_x']: 112 use_axis = run_data['axis'] 113 else: 114 use_axis = None 110 115 print "Doing ", plot_title 111 116 plot_compare_csv(location_sim=loc_sim, … … 116 121 y_label='Water '+ quantity +' (m)', 117 122 is_interactive=False, 118 save_as=save_as) 123 save_as=save_as, 124 use_axis=use_axis) 119 125 120 126 #------------------------------------------------------------- … … 123 129 """ 124 130 from scenarios import scenarios 125 outputdir_tag = "_ test_C"126 #scenarios = scenarios[1 ]131 outputdir_tag = "_good_tri_area_0.01_C" 132 #scenarios = scenarios[1:] 127 133 #scenarios = [scenarios[5]] 128 134 plot(scenarios, outputdir_tag)
Note: See TracChangeset
for help on using the changeset viewer.