Issue with latex interpreter plot/chart title
1 回表示 (過去 30 日間)
古いコメントを表示
Turbulence Analysis
2022 年 2 月 11 日
コメント済み: Turbulence Analysis
2022 年 2 月 11 日
Hi, I would like to assign plot title as follows Y_10mm_X = num2str(b2(i)). where i = 0.78
For this, I tried as follows
title(['Y= 5mm_x =' num2str(b2(i)) ' mm'],'FontSize',20,'Color','black','Interpreter','latex')
However, I got teh below error..Please help me with this..
String scalar or character vector must have valid interpreter syntax:
0 件のコメント
採用された回答
Walter Roberson
2022 年 2 月 11 日
Are you certain that you want the x to be a subscript of the second m ??
i = 1;
b2(i) = 0.78
title(['$Y= 5mm_x =' num2str(b2(i)) ' mm$'], 'FontSize', 20, 'Color', 'black', 'Interpreter', 'latex')
3 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で LaTeX についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!