Changeset 3507
- Timestamp:
- Aug 17, 2006, 6:20:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
development/stochastic_study/plot_spread.py
r3035 r3507 40 40 #hold(False) 41 41 42 43 for j in range( 1):42 N=250 43 for j in range(N): 44 44 #print j, filenames[j] 45 45 plot(time, data[:,j], 'k-') … … 54 54 #raw_input('Next') 55 55 56 57 raw_input('Stats') 56 title('%d realisations' %N) 57 savefig('realisations', dpi = 300) 58 #raw_input('Stats') 58 59 59 60 … … 61 62 hold(False) 62 63 # Plot spread of stage values for each timestep 63 for i in range(0, project.number_of_timesteps):64 for i in range(0, project.number_of_timesteps, 10): 64 65 # Plot histogram# 65 66 … … 68 69 xlabel('realisations') 69 70 ylabel('stage (m)') 70 title('Study %s: spread at timestep %d of %d (t=%.2f)'\ 71 %(study, i, project.number_of_timesteps-1, time[i])) 72 raw_input('Next') 71 #title('Study %s: spread at timestep %d of %d (t=%.2f)'\ 72 # %(study, i, project.number_of_timesteps-1, time[i])) 73 title('Spread at timestep %d of %d (t=%.2f)'\ 74 %(i, project.number_of_timesteps-1, time[i])) 75 76 savefig('spread_%d' %i, dpi = 300) 77 #raw_input('Next') 73 78 74 79 show()
Note: See TracChangeset
for help on using the changeset viewer.