change axis of a plot
2 views (last 30 days)
Show older comments
does anyone know how to do broken axis* ( 0--//---- ) and also how to obligate matlab automatically to write final x value and final y value in the plots i obtain?
*this plot is simply obtained with xy data obtained in laboratory.
thank you very much
0 Comments
Accepted Answer
More Answers (1)
Azzi Abdelmalek
on 17 Nov 2012
Edited: Azzi Abdelmalek
on 17 Nov 2012
set(gca,'xtick',linspace(min(x),max(x),7),'ytick',linspace(min(y),max(y),7))
what do you mean by : how to do broken axis
6 Comments
Azzi Abdelmalek
on 17 Nov 2012
Edited: Azzi Abdelmalek
on 23 Nov 2012
You can add two line manually with figure editor
See Also
Categories
Find more on 2-D and 3-D Plots 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!