Coloring legend, function surf
Afficher commentaires plus anciens
Hello there,
I've allready asked similar question to this one in the following link https://www.mathworks.com/matlabcentral/answers/470219-coloring-in-plots-legend. But as you can see in the last comment in the thread, I did change the color but I need to use the X-Y view for something and you can see the difference. Is it possible to change the colors in the legend or something?

This is the first picture (original).

This is when I changed the color but the X-Y view is different as you can see. The legend color did change but i need to have the same size as in the 1st picture.
Thanks.
2 commentaires
KALYAN ACHARJYA
le 11 Août 2019
Can you share the code of figure 1?
Frane Calusic
le 12 Août 2019
Réponses (1)
boris vuleta
le 11 Août 2019
0 votes
Probaj ovo mozda ti pomogne https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend-properties.html Sretno ?
4 commentaires
Frane Calusic
le 11 Août 2019
Frane Calusic
le 12 Août 2019
boris vuleta
le 14 Août 2019
probaj ovo nisam vidio tocno sto zelis...
Frane Calusic
le 15 Août 2019
Catégories
En savoir plus sur Legend dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!