Rotation of the title of the plot

10 次查看(过去 30 天)
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!

回答(1 个)

Kevin Phung
Kevin Phung 2019-3-4
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;

类别

Help CenterFile Exchange 中查找有关 3-D Scene Control 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by