Está en la página 1de 2

import 

numpy as np
import matplotlib.pyplot as plt

Data = np.loadtxt('response_structure.txt',skiprows=1)
VshearY = Data[:30,12]
DY = Data[:30,26]
plt.plot(DY,VshearY,'b--')
plt.xlabel('dY (cm)')
plt.ylabel('V Y (KN)')
plt.show
# print(DY)

<function matplotlib.pyplot.show>

Data = np.loadtxt('response_member01.txt',skiprows=2)
VshearY = Data[:,17]
DY = Data[:,16]
plt.plot(DY,VshearY,'b--')
plt.xlabel('dY (cm)')
plt.ylabel('V Y (KN)')
plt.show
print(DY)
print(VshearY)
[ 0.000e+00 -1.733e-05 -9.786e-05 ... 1.902e-02 1.840e-02 1.803e-02]

[ 0. -0.04474 -0.2526 ... 7.164 6.261 5.71 ]

También podría gustarte