orientation of static text
52 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I want to change the allignment of the text in a static text on a gui that I want to create with guide. Is it possible to make the text appear vertically? How?
0 Kommentare
Antworten (3)
Youssef Khmou
am 27 Mai 2014
I think this solution will work
plot(randn(100,1));
h=text(1,1,' My description');
set(h,'Rotation',60);
The text is rotated by pi/3.
0 Kommentare
the cyclist
am 5 Mär. 2013
Bearbeitet: John Kelly
am 27 Mai 2014
It is not possible to do this directly. It offers a work-around, in which you put an axes object in your GUI, then use the text command (which does have a 'Rotation' property) to rotate your text.
That support solution is kinda old, but I did not see any other solution when I searched, and there is not a 'Rotation' property for the Static Text object in GUIDE, which is how I would expect it to be implemented if the feature existed.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Graphics Object Properties 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!