How to define different colors for different edges?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponse acceptée
Image Analyst
le 6 Avr 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
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Geometry and Mesh dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!