Hi all,
I have a question on how to plot from list of datas.
Basically I have 2 lists X and Y, and each term represent some points in the plane (x, y).
And I want to plot directly from those list but I don’t get the right result.
So if I do
for inde in range(X)
plt.plot(X[inde], Y[inde], 'b')
it is ok. But if If do plt.plot(X, Y, 'b') the result is different, and not the one wanted. but this second solution seems to be the simplest to me.
How to make something in the same spirit works ?
I also tried plt.plot(*X, *Y, 'b') but with no success.