data = genfromtxt('test', names=['x', 'y'])
x = data['x']
y = data['y']
columnsize = int(len(x) / 6)
ax = plt.subplot(111)
for i in range(columnsize):
    pass
Plotting data from CSV files using matplotlib