matlab.graphics.illustration.Legend/set
Ältere Kommentare anzeigen
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!

Antworten (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 Kommentar
Ewan Hislop
am 23 Okt. 2019
Steven Lord
am 23 Okt. 2019
0 Stimmen
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 Kommentar
Ewan Hislop
am 24 Okt. 2019
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!