Matlab subplots property inspector

7 views (last 30 days)
How can I modify the property of Super title (returned by suptitle()) of subplots from the property inspector? I can not select the Super title handle from the figure.

Accepted Answer

Ameer Hamza
Ameer Hamza on 7 Apr 2020
I guess you are using some external function suptitle. This function is not provided in MATLAB. From MATLAB R2018b and onward, you can use sgtitle function to create a title above subplots. The title is created as a textbox and made a child of figure objects. You can find it by looking at the Children of the figure handle.
  3 Comments
Ameer Hamza
Ameer Hamza on 7 Apr 2020
That's quite a happy coincidence. This message shows that it is placed with the bioinformatics toolbox. I don't have that toolbox; therefore, it gave an error on my PC. It is not actually a part of MATLAB or any of its toolboxes. It was placed there as a part of some demo: https://www.mathworks.com/matlabcentral/answers/274877-suptitle-in-2016a, but it was never intended to be used as a stand-alone function. That is why it is not mentioned in the documentation.

Sign in to comment.

More Answers (0)

Categories

Find more on Labels and 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!