How to change scale of ploted graph of an axis

10 次查看(过去 30 天)
The x-axis of the plotted i wanted to be in term of step size of 0.1 but currently my graph show step size of 0.2 , how do i change it?

回答(1 个)

jonas
jonas 2018-9-5
xmin and xmax are the axes limits.
set(gca,'xtick',xmin:.1:xmax)
  6 个评论
Abdullah
Abdullah 2019-7-11
How to do the same for y-axis. I mean how can y-axis can be rescaled once the figure has been drawn.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by