Why do I get an invalid interpreter on my annotation request?

조회 수: 3 (최근 30일)
TBox10=annotation('textbox',[.13,.39,.17,.085],'String', ...
{'\alpha\Beta\Gamma\delta\epsilon\zeta\eta\theta\iota\kappa', ...
'\Lambda\mu\nu\xi\pi\rho\sigma\tau\upsilon\phi\chi\psi\Omega'}, ...
'BackgroundColor',[.5,.5,1])
TBox10 =
TextBox (\alpha\Beta\Gamma\delta\epsilon\zeta\eta\theta\iota\kappa) with properties:
String: {2x1 cell}
FontName: 'Helvetica'
FontSize: 10
FontWeight: 'normal'
Color: [0 0 0]
BackgroundColor: [0.5000 0.5000 1]
EdgeColor: [0 0 0]
LineStyle: '-'
LineWidth: 0.5000
Position: [0.1300 0.3900 0.1700 0.0850]
Units: 'normalized'
Show all properties
Warning: Error updating TextBox.
String must have valid interpreter syntax:
\alpha\Beta\Gamma\delta\epsilon\zeta\eta\theta\iota\kappa
\Lambda\mu\nu\xi\pi\rho\sigma\tau\upsilon\phi\chi\psi\Omega

채택된 답변

Walter Roberson
Walter Roberson 2016년 7월 1일
There is no \Beta just B and \beta
  댓글 수: 2
Kenneth Lamury
Kenneth Lamury 2016년 7월 2일
Using student version R2016a required me to use ALL lower case letters when using Greek letters. Thus, I assume there are no capital Greek letter, n'est pas?
dpb
dpb 2016년 7월 2일
편집: Walter Roberson 2016년 7월 2일
AFAIK there's no difference in content of Student version, the only one of your string I had to lower-case was Beta; rest were fine and according to the doc <Interpreter> there are a half-dozen or so included, just Beta isn't one that is...

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

추가 답변 (1개)

dpb
dpb 2016년 7월 1일
'Beta' isn't available; 'beta' is. That seems to fix it here...

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by