I have the following masterResult.csv
file:
DATE, DATASET, BUILD Col1 Col2 Col3
5/3/16, Amazon, 1001 1113 344 169
5/3/16, Amazon, 1002 1113 344 169
5/3/16, Amazon, 1005 1113 344 169
5/3/16, Amazon, 1006 1113 344 169
I would like to draw a graph using matplotlib
.
My code is:
per_data=genfromtxt('masterResult.csv',delimiter=',',names=True)
for name in per_data.dtype.names[2:]:
plt.plot(per_data['BUILD'], per_data[name], label=name)
But that gave me:
And the x-axis range is not right. How to make it so x-axis range is from 1001 ~ 1006?