How to define different colors for different edges?
4 views (last 30 days)
Show older comments
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.
Thanks for any help,
Beata
0 Comments
Accepted Answer
Image Analyst
on 6 Apr 2023
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
More Answers (0)
See Also
Categories
Find more on Geometry and Mesh 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!