Clear Filters
Clear Filters

Rotation of the title of the plot

12 views (last 30 days)
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz on 4 Mar 2019
Answered: Kevin Phung on 4 Mar 2019
Dear,
I would like to rotate the title of the plot about 90 degrees. Could somebody help me how to do it or even there is possibility to do it?
Thanks a lot!

Answers (1)

Kevin Phung
Kevin Phung on 4 Mar 2019
Get the handle of the axes, and access the title > rotation property. Here's an example you can run:
f = figure;
a=axes; %axes handle, if you return a, you will get a list of properties
a.Title.String = 'hello';
a.Title.Rotation = 90;

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!