How to Enclose a Figure Title in a Box?

12 views (last 30 days)
Kareem Elgindy
Kareem Elgindy on 26 Feb 2021
Commented: dpb on 26 Feb 2021
I'm interested to learn how to place a figure title in a box using title and sgtitle commands.

Accepted Answer

dpb
dpb on 26 Feb 2021
hT=title('This is a title','EdgeColor','k');
  2 Comments
dpb
dpb on 26 Feb 2021
Why they didn't provide the complemenatary 'box','on'|'off' syntax to be consonant with axes is a wonderment...

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!