- P: Nx2: node coordinates
- T: Mx3: triangulation
- F: Mx1: scalar field to be plotted, this case orientation
Color a delaunay triangulation
14 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Cristina Garozzo
il 10 Set 2014
Commentato: Fabio Freschi
il 11 Set 2014
I have a delaunay triangulation like the one in attach
. I need to color inside every triangle with a color. I'd like to show the orientation of the triangles. Because I need to highlight the order. Like the second figure
0 Commenti
Risposta accettata
Fabio Freschi
il 10 Set 2014
Modificato: Fabio Freschi
il 10 Set 2014
Let's suppose that your triangulation is organized as follows
you can plot with the following command
>> figure;
>> patch('Faces',T,'Vertices',P,'FaceVertexCData',F,'FaceColor','flat');
Fabio
2 Commenti
Fabio Freschi
il 11 Set 2014
could you post the outputs of the following commands
>> size(x)
>> size(TRI)
>> size(alpha)
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!