Skip to content

Commit 91b3bcb

Browse files
authored
Update SpecNec_executable_streamlit.py
1 parent 6456a22 commit 91b3bcb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

fun_SPEC_NEC/SpecNec_executable_streamlit.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,14 @@
197197
ax1.plot(Tie, Sai, color=(0, 0, 1), marker='+', markersize=0, markerfacecolor='w',
198198
markeredgewidth=0, linewidth=1.5, alpha=1.0,linestyle = '-',label= f'Inelastic Response Spectra')
199199

200+
ax1.plot([0.3,0.3], [0,Sds], color=(0, 0, 0), marker='o', markersize=5, markerfacecolor='w',
201+
markeredgewidth=1, linewidth=1.0, alpha=0.5,linestyle = '--')
202+
ax1.plot([1,1], [0,Sd1], color=(0, 0, 0), marker='o', markersize=5, markerfacecolor='w',
203+
markeredgewidth=1, linewidth=1.0, alpha=0.5,linestyle = '--')
200204

201205
ax1.text(0.3, Sds + 0.01, f'Sds = {Sds:.3f} g', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
202206
ax1.text(1, Sd1 + 0.01, f'Sd1 = {Sd1:.3f} g', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
203207

204-
205-
206208
ax1.set_xlim([Tie[0], (max(Tie))])
207209
ax1.set_ylim([0, (max(Sae)*1.05)])
208210
plt.title('SPEC NEC-SE-DS-2024', fontsize=10, color=(0, 0, 1))

0 commit comments

Comments
 (0)