I am using matplotlib to plot a 2D array but in the plot I am not getting curves, it only shows the axis. Following is my code:
posx = []
posy = []
for i in range(1,37):
posx.append(data[i,0])
posy.append(data[i,1])
for j in range(2,507):
plt.plot(data[0,j],data[i,j])
print(posx,posy)
plt.show()
I have tried plt.plot(data[0,j],data[i,j],'.') which shows me a scatter plot which I don't want.