How to define different colors for different edges?
15 次查看(过去 30 天)
显示 更早的评论
Hello evrybody,
I have an electrostatis pde model with the geometry ilustrated below (pdegplot, "EdgeLebals"=="off", 16 edges). I am wandering if there is any way to define line colors for the edges? I have checked in the Property Inspector, that the plot consists only one line object for the model geometry.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1347439/image.jpeg)
Thanks for any help,
Beata
0 个评论
采纳的回答
Image Analyst
2023-4-6
If you can get the coordinates of the line endpoints, you can use the line function to overwrite that shape with colors of your choice.
help line
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Geometry and Mesh 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!