|
128 | 128 |
|
129 | 129 | nsteps = 200
|
130 | 130 | for i in range(nsteps):
|
131 |
| - net.evolve_threshold_width_river_network(nt=1, dt=dt) |
132 |
| - if i % np.ceil(nsteps/10) == 0: |
| 131 | + net.evolve_threshold_width_river_network(nt=1, dt=10*dt) |
| 132 | + if i % np.ceil(nsteps/50) == 0: |
133 | 133 | for lp in net.list_of_LongProfile_objects:
|
134 | 134 | # If not downstream-most segment
|
135 | 135 | if len( lp.downstream_segment_IDs ) > 0:
|
|
140 | 140 | plt.plot(_xjoin, _zjoin, 'k-', linewidth=1, alpha=1)
|
141 | 141 | else:
|
142 | 142 | plt.plot(lp.x_ext[0][-2:], lp.z_ext[0][-2:], 'k-', linewidth=1, alpha=1)
|
143 |
| - plt.plot(lp.x, lp.z, '-', linewidth=1, alpha=1)#, label=lp.) |
| 143 | + plt.plot(lp.x, lp.z, 'k-', linewidth=1, alpha=.2)#, label=lp.) |
144 | 144 |
|
145 | 145 | for lp in net.list_of_LongProfile_objects:
|
146 | 146 | # If not downstream-most segment
|
|
154 | 154 | plt.plot(lp.x_ext[0][-2:], lp.z_ext[0][-2:], 'k-', linewidth=3, alpha=.5)
|
155 | 155 | plt.plot(lp.x, lp.z, 'k-', linewidth=3, alpha=.5)#, label=lp.)
|
156 | 156 |
|
| 157 | +plt.xlabel('Distance downvalley in network [m]', fontsize=16) |
| 158 | +plt.ylabel('Elevation above outlet before\nbase-level fall [m]', fontsize=16) |
157 | 159 | plt.tight_layout()
|
158 | 160 | plt.show()
|
159 | 161 | #"""
|
|
0 commit comments