how to change the position of the output result in GUI
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Does any one here have an idea about how to change the position of output in the GUI matlab to be to the right side of the box and not in the center ?
i think I have to change some properties of the result text box
2 commentaires
Réponse acceptée
Image Analyst
le 22 Déc 2012
Modifié(e) : Image Analyst
le 23 Déc 2012
Change the position property if you need to specify the location or size of a static text label. For example, to have the text label take up the whole bottom part of a figure, use:
set(handleToTextControl, 'Position', [0 0, 1, 0.1]); % Full width, 1/10th height.
If you already have a text label that is the size and location that you need, then perhaps all you need to do is to set the horizontal alignment (justification). To have the text all the way over to the right in that text label, set the'HorizontalAlignment' property:
set(handleToTextcontrol, 'HorizontalAlignment', 'right'); % Right justify.
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Annotations 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!