Closed tinix84 closed 4 years ago
Hi tinix84,
this is indeed intended since there is a parseAll option (which you have set to True in your code). This will put the trace of the first channel into y[0]
, the second channel into y[1]
, and so on.
If you always import only one channel this would not be needed but I prefer to keep this functionality.
Note that data.x is the time array, so typically you would use plt.plot(data.x, data.y[0])
this code can be improved having the same shape for data.x and data.y. If I have to plot I have to refer the 2 vector differently