changing axis on a plot

How can I change the axis on a plot to change the x and y axis values.

1 个评论

Here is what Shani asked, so that it will still be here when she deletes this question:
How can I change the axis on a plot to change the x and y axis values.

请先登录,再进行评论。

回答(1 个)

Azzi Abdelmalek
Azzi Abdelmalek 2013-11-19
编辑:Azzi Abdelmalek 2013-11-19
set(gca,'xtick',[1 2 3 4],'ytick',[8 10 12 21])

1 个评论

You will find answers depending on your questions. Post a new question and wait for answers

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Axis Labels 的更多信息

标签

提问:

2013-11-19

Community Treasure Hunt

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

Start Hunting!

Translated by