How to get my graph to fit the data?
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165099/image.png)
How do I get my left graph to fit the data and look similar to the one on the right?
0 Comments
Accepted Answer
Rik
on 12 Jun 2017
You can use the function axis to set the boundaries of your plot. You can also process axes separately with xlim, ylim and zlim
0 Comments
More Answers (0)
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!