How to define different colors for different edges?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Akzeptierte Antwort
Image Analyst
am 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
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Geometry and Mesh finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!