How can I write this in my figure title?
2 ビュー (過去 30 日間)
古いコメントを表示
Hi! Can anyone please tell me how can I write this in my figure (either in title or in y axis)?
Thank you!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1298370/image.jpeg)
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!