필터 지우기
필터 지우기

Static Text GUI

조회 수: 3 (최근 30일)
Zach
Zach 2011년 6월 6일
Is there any way to put more than just regular text in a static text box, such as subscripts, superscripts or texts like x ̇ <== (x dot).

채택된 답변

Walter Roberson
Walter Roberson 2011년 6월 6일
Are you referring to text() or to uicontrol with style text?
For text, you can use use tex or latex; see the example under the Interpreter property here
For uicontrols, you can use HTML on a per-line basis, such as
<HTML>&Gamma;2
  댓글 수: 3
Zach
Zach 2011년 6월 6일
It's changing it in the property inspector string but when I run my GUI, <HTML>Γ<SUP>2</SUP> comes up instead of the superscript
Walter Roberson
Walter Roberson 2011년 6월 6일
The official chart of combining accents can be found at http://unicode.org/charts/PDF/U0300.pdf
Some of these might not work with MATLAB.
x with dot can be coded as <HTML>x&x0307;

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by