Spaces:
Sleeping
Sleeping
Commit ·
a0a4fb9
1
Parent(s): f28ed2d
Update app.py
Browse files
app.py
CHANGED
|
@@ -319,11 +319,12 @@ def goda(Case, Hs, Hmax, h, d, h_acc, hc, T, beta, rho, slope_foreshore, B, lamb
|
|
| 319 |
|
| 320 |
|
| 321 |
# plot the caisson and wlev
|
| 322 |
-
plt.vlines(x=0, ymin=
|
| 323 |
-
plt.vlines(x=-B, ymin=
|
| 324 |
-
plt.hlines(y=-(abs(Bottom_of_Wall)), xmin=0, xmax=-B, linewidth=2, color = 'k')
|
| 325 |
-
plt.hlines(y=Top_of_Wall_Height, xmin=0, xmax=-B, linewidth=2, color='k')
|
| 326 |
-
plt.hlines(y=(Still_Water_Level), xmin=0, xmax=np.max(p)*1.3, color='b')
|
|
|
|
| 327 |
|
| 328 |
|
| 329 |
# plot pressure distributions
|
|
|
|
| 319 |
|
| 320 |
|
| 321 |
# plot the caisson and wlev
|
| 322 |
+
plt.vlines(x=0, ymin=((Bottom_of_Wall)), ymax=Top_of_Wall_Height, linewidth=2, color='k')\n",
|
| 323 |
+
plt.vlines(x=-B, ymin=((Bottom_of_Wall)), ymax=Top_of_Wall_Height, linewidth=2, color = 'k')\n",
|
| 324 |
+
plt.hlines(y=-(abs(Bottom_of_Wall)), xmin=0, xmax=-B, linewidth=2, color = 'k')\n",
|
| 325 |
+
plt.hlines(y=Top_of_Wall_Height, xmin=0, xmax=-B, linewidth=2, color='k')\n",
|
| 326 |
+
plt.hlines(y=(Still_Water_Level), xmin=0, xmax=np.max(p)*1.3, color='b')\n",
|
| 327 |
+
|
| 328 |
|
| 329 |
|
| 330 |
# plot pressure distributions
|