Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

String position in uicontrol

조회 수: 1 (최근 30일)
v k
v k 2020년 11월 2일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by