Coloring legend, function surf
Show older comments
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 Comments
KALYAN ACHARJYA
on 11 Aug 2019
Can you share the code of figure 1?
Frane Calusic
on 12 Aug 2019
Answers (1)
boris vuleta
on 11 Aug 2019
0 votes
Probaj ovo mozda ti pomogne https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend-properties.html Sretno ?
4 Comments
Frane Calusic
on 11 Aug 2019
Frane Calusic
on 12 Aug 2019
boris vuleta
on 14 Aug 2019
probaj ovo nisam vidio tocno sto zelis...
Frane Calusic
on 15 Aug 2019
Categories
Find more on Legend in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!