Changeset 5426 for anuga_work/development/Hinwood_2008/plot.py
- Timestamp:
- Jun 25, 2008, 9:27:56 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/Hinwood_2008/plot.py
r5413 r5426 5 5 from os import sep 6 6 import project 7 from time import localtime, strftime 7 8 8 9 def plot_compare_csv(location_sim, file_sim, location_exp, file_exp, … … 83 84 from scenarios import scenarios 84 85 outputdir_tag = "_good_tri_area_0.01_A" 85 #scenarios = [scenarios[0]] # !!!!!!!!!!!!!!!!!!!!!! 86 #scenarios = scenarios[1] # !!!!!!!!!!!!!!!!!!!!!! 87 scenarios = [scenarios[5]] # !!!!!!!!!!!!!!!!!!!!!! 86 88 # Supported formats: emf, eps, pdf, png, ps, raw, rgba, svg, svgz. 87 89 plot_type = ".pdf" … … 99 101 save_as_list, 100 102 run_data['gauge_x']): 103 time_date = strftime('plot date: %d/%m/%Y Time: %H:%M:%S', 104 localtime()) 101 105 plot_title = "Scenario: " + outputdir_name + "\n" + \ 102 "X Gauge (m):" + str(gauge) 106 "X Gauge (m):" + str(gauge) + " " + time_date 107 103 108 print "Doing ", plot_title 104 109 plot_compare_csv(location_sim=loc_sim,
Note: See TracChangeset
for help on using the changeset viewer.