I'm having problem when plotting two arrays in python. I have to numpy arrays with same size, one which I will use to set the time and the other one that is a reference siganl. They look like this:
this is the reference siganl array:
This the time array:

But then when i call to the plt.plot command this way:

I obtain the following plot:
Anyone know why it takes each value of the reference array individually? and any solutions for it? Even when I put a legend to the plot, it displays Yr 18 times.
