Info
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
How to color the area between lines that are vectors, no functions
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have to figures who are intersecting. If you look at the picture I have one vector describing the upper blue curve, one for the lower. The same for the red ones.
I want to color now the common area. I have also vectors for the upper part of this green area and for the lower.
Somehow I don't find a way to color this area without making a function out of the vectors. (for this example I used paint in the picture).
Has anyone an idea how to color this green area when having data points and no function?
Kind regards
Zita
2 comentarios
Respuestas (1)
darova
el 19 de Sept. de 2019
I created some figure and lines
I rotated lines and created new figure (yellow)
Painted faces to white and removed edges
set(h,'EdgeColor','none','FaceCOlor',w)
TO create yellow figure i had to numerate vertices:
See the attached script
Look also here: POLYSHAPE
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!