changing axis on a plot
1 view (last 30 days)
Show older comments
How can I change the axis on a plot to change the x and y axis values.
1 Comment
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.
Answers (1)
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
on 20 Nov 2013
You will find answers depending on your questions. Post a new question and wait for answers
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!