0
fig=plt.figure()
ax=fig.add_axes([0,0,1,1])
ax.set_xlim([0,100])
ax.set_ylim([0,200])
ax.plot(x,y)

This returns the following image with y coordinates having an interval difference of 25

enter image description here

But instead, I need my output to have why coordinates with an interval difference of 50. something like

enter image description here

  • 1
    Does this answer your question? [Changing the "tick frequency" on x or y axis in matplotlib?](https://stackoverflow.com/questions/12608788/changing-the-tick-frequency-on-x-or-y-axis-in-matplotlib) – Kieran Moynihan Jul 02 '21 at 19:35

0 Answers0