Borrar filtros
Borrar filtros

How to set value out of struct in plot with latex

1 visualización (últimos 30 días)
Miky
Miky el 10 de Mayo de 2019
Respondida: Miky el 10 de Mayo de 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?

Respuesta aceptada

Miky
Miky el 10 de Mayo de 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),'$$');

Más respuestas (0)

Categorías

Más información sobre Printing and Saving en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by