How to add border to graph

79 views (last 30 days)
Chetan Fadnis
Chetan Fadnis on 16 Feb 2022
Commented: Matt J on 16 Feb 2022
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.

Accepted Answer

Matt J
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
Chetan Fadnis
Chetan Fadnis on 16 Feb 2022
Thank You. It work.
Matt J
Matt J on 16 Feb 2022
I'm glad, but please Accept-click the answer to mark the question resolved.

Sign in to comment.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!