How can I write this in my figure title?

1 次查看(过去 30 天)
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 个评论
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