Question:
I have a numpy array with:- col[0]=time=xaxis_data
- col[1:32]= lines for y axis.
Every second a new row of data is added to the array.
I am plotting the data and updating the plots, however I cannot get the colors of each line to stay fixed.
Answer:
I don’t think you can plot different colours in a single line plot statement but if you put in a nested for loop it is then possible:If you have better answer, please add a comment about this, thank you!