Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

String position in uicontrol

1 Ansicht (letzte 30 Tage)
v k
v k am 2 Nov. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
In the following code
h=uicontrol('Style','text', 'String',str, ...
'Units','normalized', 'Position',[0.1 0 0.9 0.7]);
the str is 'abc def - ghi, jkl'
How can I access the position of the characters a,b,c etc from the Position vector [0.1 0 0.9 0.7] ?
If it can be done in pixel units, thats also fine.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by