matlab.graphics.illustration.Legend/set
Mostrar comentarios más antiguos
Hi, I was wondering if anyone could help me get past this error using matlab to create a graph?
There appears to be an issue with setting the legend and I'm not sure how to fix this
Many thanks in advance!

Respuestas (2)
Hello,
Try this,
legend_h = legend('TOFA (5uM)... ...');
set(legend_h,'Color','none','...','...');
It seems you have forgotten a comma between name/value pair argument. ('Color', 'none')
1 comentario
Ewan Hislop
el 23 de Oct. de 2019
Steven Lord
el 23 de Oct. de 2019
0 votos
The legend object does not have a property named Blue.
If you're trying to change the colors of the objects listed in the legend, change the Color properties of those objects. You can't change them via the handle returned from legend as far as I am aware.
1 comentario
Ewan Hislop
el 24 de Oct. de 2019
Categorías
Más información sobre Legend en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!