Problem with plot data on matplotlib


  I just plotted some data I have in a csv file (which I couldn't put in this message) and these distortions appear on the graph.

 Can someone help me?

My first thought is that your x axis data isn’t ordered properly.


I thought about that too. But I don’t really think this is the problem. For example, look at what happens between [0.0010,0.0005] on the vertical axis. The data ranges are as follows:

Blue line:

x-axis and y-axis

Orange line:

x-axis and y-axis

But thanks for trying.

WOW. I found the problem. Yes, the data is missing a few days as it appears in my previous answer. Thanks Montanaro :smiley: