shifting axis on both ends so graph does not have points on extreme end
Show older comments
I have the following attached graph and I need to shift the axis so that I do not have my starting point on the y axis and the last point on the extream end.
Accepted Answer
More Answers (1)
Adam Danz
on 16 May 2024
0 votes
In addition to axis padded which pads all axes limits, you could use ylim('padded') to only pad the y axis limits (same with xlim or zlim).
Categories
Find more on Line Plots in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

