matplot如何设置刻度线间隔 让图大一点

size = x.shape
y,z=np.meshgrid(data_1,data_2) 
fig=plt.figure()
ax=fig.gca(projection='3d') 
ax.plot_surface(x,y,z)
plt.show()


由于x是到5000 所以画出来的x轴刻度显示为1000,2000,想刻度间隔小一点,让图上的不会i那么密集