changing axis on a plot

2 views (last 30 days)
Shani
Shani on 19 Nov 2013
Commented: Image Analyst on 23 Nov 2013
How can I change the axis on a plot to change the x and y axis values.
  1 Comment
Image Analyst
Image Analyst on 23 Nov 2013
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.

Sign in to comment.

Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 19 Nov 2013
Edited: Azzi Abdelmalek on 19 Nov 2013
set(gca,'xtick',[1 2 3 4],'ytick',[8 10 12 21])
  1 Comment
Azzi Abdelmalek
Azzi Abdelmalek on 20 Nov 2013
You will find answers depending on your questions. Post a new question and wait for answers

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!