Could MATLAB allow text boxes within figures to be rotated?

19 views (last 30 days)
I would like to be able to rotate uicontrol text boxes by a specified number of degrees.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 12 Jul 2013
The ability to rotate uicontrol text boxes is not available in MATLAB 7.0 (R14).
To work around this issue, use a text object and set the Rotation property to the desired rotation in degrees. An example is shown below:
plot(1:10)
t=text(0.5,0.5,'Button Label','Rotation',30,'FontSize',14)

More Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!