Azzera filtri
Azzera filtri

How to set value out of struct in plot with latex

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

Miky
Miky il 10 Mag 2019
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),'$$');

Più risposte (0)

Categorie

Scopri di più su Printing and Saving in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by