필터 지우기
필터 지우기

How can I write this in my figure title?

조회 수: 1 (최근 30일)
Ashfaq Ahmed
Ashfaq Ahmed 2023년 2월 17일
댓글: Les Beckham 2023년 2월 17일
Hi! Can anyone please tell me how can I write this in my figure (either in title or in y axis)?
Thank you!!

채택된 답변

Arif Hoq
Arif Hoq 2023년 2월 17일
편집: Arif Hoq 2023년 2월 17일
plot(1:10)
% t = '$\frac{H}{|H_m{_a}{_x}|}$';
[t,s]=title('$\frac{H}{|H_m{_a}{_x}|}$','interpreter','latex');
t.FontSize = 18;
  댓글 수: 2
Ashfaq Ahmed
Ashfaq Ahmed 2023년 2월 17일
Great!
Les Beckham
Les Beckham 2023년 2월 17일
Nice.
I find this a bit easier to read, however,
[t,s] = title('$\frac{H}{|H_{max}|}$', 'interpreter', 'latex');
as opposed to the multiple curly braces and underscores for each letter of "max"
[t,s]=title('$\frac{H}{|H_m{_a}{_x}|}$','interpreter','latex');

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Title에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by