フィルターのクリア

How to set value out of struct in plot with latex

1 回表示 (過去 30 日間)
Miky
Miky 2019 年 5 月 10 日
回答済み: Miky 2019 年 5 月 10 日
Hello,
I'm trying to get values of accuarcy out of a struct into plots, example Code below:
a=strcat('$$Simulation\ nRMSE=\',string(data.err.masse_total_Masse_Mess.nrmse*100),'\ %,\ R=\',string(data.err.masse_total_Masse_Mess.R),'$$');
b=strcat('$$Messung$$');
hl=legend(a,b,'Location','southeast', 'FontSize', 25)
set(hl, 'Interpreter', 'latex');
does sombody know what I'm doing wrong?

採用された回答

Miky
Miky 2019 年 5 月 10 日
found my fail
a=strcat('$$Simulation\ nRMSE=',string(data.err.masse_total_Masse_Mess.nrmse*100),'\ {\%},\ R=',string(data.err.masse_total_Masse_Mess.R),'$$');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePrinting and Saving についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by