|
197 | 197 | ax1.plot(Tie, Sai, color=(0, 0, 1), marker='+', markersize=0, markerfacecolor='w',
|
198 | 198 | markeredgewidth=0, linewidth=1.5, alpha=1.0,linestyle = '-',label= f'Inelastic Response Spectra')
|
199 | 199 |
|
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 = '--') |
| 200 | +# Add text annotation for Sds |
| 201 | +ax1.text(0.3, Sds+0.02, f'$\\mathbf{{Sds = {Sds:.4f} \\, g}}$', fontsize=10, verticalalignment='bottom', horizontalalignment='left') |
| 202 | +# Add text annotation for Sd1 |
| 203 | +ax1.text(1, Sd1+0.02, f'$\\mathbf{{Sd1 = {Sd1:.4f} \\, g}}$', fontsize=10, verticalalignment='bottom', horizontalalignment='left') |
| 204 | + |
204 | 205 |
|
205 | 206 | # Add text annotation for Sds
|
206 | 207 | ax1.text(0.3, Sds+0.02, f'**Sds = {Sds:.4f} g**', fontsize=10, verticalalignment='bottom', horizontalalignment='left')
|
|
0 commit comments