johannfaouzi / pyts

A Python package for time series classification
https://pyts.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.77k stars 165 forks source link

question about the diagonal line of RP plots #129

Closed Karlheinzniebuhr closed 2 years ago

Karlheinzniebuhr commented 2 years ago

My recurrence plots all have a diagonal from the top left to bottom right. This is contrary to the examples provided in the documentation which run from bottom left to top right. Am I doing something wrong or does this depend on the data?

20200101 1240

johannfaouzi commented 2 years ago

It's just a visualisation issue, whether the origin is at the upper left (your case) or at the lower left (like in this example). You can change this setting using the origin parameter in matplotlib.pyplot.imshow().

Karlheinzniebuhr commented 2 years ago

thanks much!