matlab.graphics.illustration.Legend/set
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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!
![Screenshot 2019-10-23 at 11.51.37.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/244217/Screenshot%202019-10-23%20at%2011.51.37.png)
0 Commenti
Risposte (2)
Steven Lord
il 23 Ott 2019
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.
Vedere anche
Categorie
Scopri di più su Legend 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!