Rotation of the title of the plot

5 Ansichten (letzte 30 Tage)
Elzbieta Trynkiewicz
Elzbieta Trynkiewicz am 4 Mär. 2019
Beantwortet: Kevin Phung am 4 Mär. 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!

Antworten (1)

Kevin Phung
Kevin Phung am 4 Mär. 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;

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by