Changing the “tick frequency” on x or y axis in matplotlib
I am trying to fix how python plots my data. Say x = [0,5,9,10,15] and y = [0,1,2,3,4] Then I would do: matplotlib.pyplot.plot(x,y) matplotlib.pyplot.show() and the x axis’ ticks are plotted in intervals of 5. Is there a way to make it show intervals of 1? 13 s 13 You could explicitly set where you … Read more