Effacer les filtres
Effacer les filtres

How to set value out of struct in plot with latex

1 vue (au cours des 30 derniers jours)
Miky
Miky le 10 Mai 2019
Réponse apportée : Miky le 10 Mai 2019
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?

Réponse acceptée

Miky
Miky le 10 Mai 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),'$$');

Plus de réponses (0)

Catégories

En savoir plus sur Printing and Saving dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by