Rotation of the title of the plot

5 vues (au cours des 30 derniers jours)
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz le 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!

Réponses (1)

Kevin Phung
Kevin Phung le 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;

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by