How to define different colors for different edges?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
BLP
el 6 de Abr. de 2023
Comentada: BLP
el 11 de Abr. de 2023
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 comentarios
Respuesta aceptada
Image Analyst
el 6 de Abr. de 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
Más respuestas (0)
Ver también
Categorías
Más información sobre Geometry and Mesh en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!