How to add border to graph

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

Thank You. It work.
I'm glad, but please Accept-click the answer to mark the question resolved.

Sign in to comment.

More Answers (0)

Tags

Asked:

on 16 Feb 2022

Commented:

on 16 Feb 2022

Community Treasure Hunt

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

Start Hunting!