Changeset 5245 for anuga_work/production/exmouth_2006
- Timestamp:
- Apr 28, 2008, 8:00:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/exmouth_2006/plot_contour_data.py
r4949 r5245 3 3 4 4 import project 5 from pylab import plot, xlabel, ylabel, savefig, ion, close, axis, title, legend, grid 5 from pylab import plot, xlabel, ylabel, savefig, ion, close, axis, title, legend, grid, figure 6 6 from os import sep 7 7 … … 56 56 #Magnitude 9.0 event (Sumba) at Exmouth') 57 57 legend(['ANUGA','Green\'s law']) 58 axis([-5,85,min(stage_max)*0.9,max(stage_max)*1.1]) 58 #axis([-5,85,min(stage_max)*0.9,max(stage_max)*1.1]) 59 axis([-5,85,3.5,max(stage_max)*1.1]) 59 60 grid(True) 60 61 #savefig('stratification_onslow_gun') … … 62 63 #savefig('stratification_dampier_gun') 63 64 65 depthv2 = [0,5,20,80] 66 datav2 = [8.2,6,4,h1] 67 figure(2) 68 plot(d2,green,'g-',depthv2,datav2,'bo-') 69 xlabel('depth (m)') 70 ylabel('stage (m)') 71 title('ANUGA modelled maximum stage versus Green\'s approximation \n \ 72 Magnitude 9.3 event (Java) at Exmouth') 73 legend(['ANUGA','Green\'s law']) 74 axis([-5,85,3.5,max(stage_max)*1.1]) 75 grid(True) 76 savefig('strat_exmouth_gun_v2') 64 77 close('all') 65 78
Note: See TracChangeset
for help on using the changeset viewer.