Coloring legend, function surf
21 次查看(过去 30 天)
显示 更早的评论
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?
![image.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233514/image.jpeg)
This is the first picture (original).
![image1.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/233515/image.jpeg)
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 个评论
回答(1 个)
boris vuleta
2019-8-11
Probaj ovo mozda ti pomogne https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.legend-properties.html Sretno ?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Legend 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!