I have two variables which are represented by a Numpy
array of size 1000000x1
. I would like to use matplotlib
to plot both of them in the same plot. However, If I proceed and plot them together the result is unintelligible since I have so many values I cannot really understand a lot. Is there a way that I can downsample and plot a more sparse representation of both variables?
plt.plot(acc1) #acc1 contains 10000000 samples
plt.plot(acc2) #acc2 contains 10000000 samples
plt.show()