Matlab画图时text文本自动换行的问题。

小弟我需要在画图时插入一个文本框显示数据,而显示出的文本会自动换行,这比较影响观感,有什么办法能够不自动换行呢?text(10,75000,{'均方根误差RMSE=' RMSE1,'m^3/s'},'FontSize',12,'FontName','楷体');

 採用された回答

kcexpxer
kcexpxer 2023 年 5 月 25 日

0 投票

改为:
text(10,75000,['均方根误差RMSE=' RMSE1,'m^3/s'],'FontSize',12,'FontName','楷体');

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange输入命令 についてさらに検索

質問済み:

2023 年 5 月 25 日

回答済み:

2023 年 5 月 25 日

Community Treasure Hunt

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

Start Hunting!