I have surface data stored in faces and vertices. How to extract data in a slice (or 2D plane) from this Faces and vertices data?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I have surface data stored in faces and vertices. How to extract data in a slice (or 2D plane) from this Faces and vertices data?
0 Commenti
Risposte (1)
darova
il 1 Lug 2020
Use interp2
[x,y,z] = peaks(20);
x1 = linspace(min(x(:)),max(x(:)),20);
y1 = sin(x1);
z1 = interp2(x,y,z,x1,y1);
surf(x,y,z,'facecolor','none')
line(x1,y1,z1,'linew',2)
axis vis3d
10 Commenti
Vedere anche
Categorie
Scopri di più su Surface and Mesh Plots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!