How to add border to graph
41 views (last 30 days)
Show older comments
Hello All,
I am attaching a snapshot, where I am finding difficult to plot the side (Right) and top border in the MATLAB plot. Kindly help how to get this borders.
I have tried using box on; box off; option. But it didnt work in my case. Hoping for a quick response. Thanks in anticipation. Regards.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/896170/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/896170/image.jpeg)
0 Comments
Accepted Answer
Matt J
on 16 Feb 2022
I have tried using box on; box off; option.
Do not use box off. That will remove the border.
2 Comments
More Answers (0)
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!