can't write "hat", "tilde", "bar" in the title of the figure

조회 수: 9 (최근 30일)
Peter
Peter 2025년 2월 25일
이동: VBBV 2025년 2월 26일
I can't write the a greek letter with "hat" into figure title - I follow the dicusssion
it seems none is working for me ... ? why?
it can't interpret as LaTex...
  댓글 수: 2
Shlok
Shlok 2025년 2월 25일
Can you please share the code snippet regarding the same?
VBBV
VBBV 2025년 2월 25일
이동: VBBV 2025년 2월 26일
$\hat{\theta_{estim}}$
            % 
Close the curly braces outside the subscript estim

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

채택된 답변

Sam Chak
Sam Chak 2025년 2월 25일
I have problem with the GUI in past releases. I usually type out the syntax on the Command Window.
title('$\hat{\theta}_{estim}$', 'interpreter', 'latex')
xlabel('$\sqrt{x}$', 'interpreter', 'latex')
  댓글 수: 5
Peter
Peter 2025년 2월 25일
always you need to initialize the interpreter from cmd line?
Sam Chak
Sam Chak 2025년 2월 25일
The GUI cannot differentiate between whether the user wants to display $\sqrt{x}$ or .
Nowadays, I write all my code in scripts; however, on rare occasions, I need to demonstrate to some students how to use certain UI-assisted apps to aid in their designs. Nevertheless, you may consider suggesting to the MathWorks team the enhancement of the GUI by adding a LaTeX toggle button.

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

추가 답변 (0개)

카테고리

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

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by