How can I write this in my figure title?
3 次查看(过去 30 天)
显示 更早的评论
Hi! Can anyone please tell me how can I write this in my figure (either in title or in y axis)?
Thank you!!
0 个评论
采纳的回答
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
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 Center 和 File Exchange 中查找有关 Title 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!