changing axis on a plot

1 次查看(过去 30 天)
Shani
Shani 2013-11-19
How can I change the axis on a plot to change the x and y axis values.
  1 个评论
Image Analyst
Image Analyst 2013-11-23
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 个评论
Azzi Abdelmalek
Azzi Abdelmalek 2013-11-20
You will find answers depending on your questions. Post a new question and wait for answers

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Annotations 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by