How to set value out of struct in plot with latex

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Printing and Saving 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by