Plot polygon that contains inside edges

1 vue (au cours des 30 derniers jours)
Sososasa
Sososasa le 6 Avr 2014
Modifié(e) : Sososasa le 7 Avr 2014
Hi,
I have a set of vertices and set of edges that create this shape:
Vertices = [1 4; 2.8 6; 5 5.7;...
7 4; 6 3.3; 4 1;...
1.5 2.5; 3.8 2.5; 4 4;...
1.7 3; 2 4.2; 4.2 4.1];
Edges = [1 2; 2 3; 3 4; 4 5; 5 6; 6 7; 7 1;...
6 8; 8 9; 9 2;...
7 10; 10 8;...
1 11; 11 9;...
9 12; 12 3;...
3 5];
How can I plot this shape and show the inside edges ? I know about the fill function and patch function but I don't know how to use them to show the edges inside.

Réponses (0)

Catégories

En savoir plus sur Data Exploration 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!

Translated by