How to i draw two trisurf plots on one diagram?

2 visualizzazioni (ultimi 30 giorni)
Darren Koh
Darren Koh il 3 Mag 2018
Commentato: KSSV il 3 Mag 2018
x = [-1992; 0; 0;0;0];
y = [0; 4533; 0;-4820;0];
z = [0; 0; 4733;0;-4682];
DT = delaunayTriangulation(x,y,z)
[C,v] = convexHull(DT);
trisurf(C,DT.Points(:,1),DT.Points(:,2),DT.Points(:,3), ...
'FaceColor','cyan')
I want to be able to display both plots on the same diagram, I've tried hold on and off but it only plots the first surf plot. Or if anyone knows a better way to plot a volume enclosed by various points please teach me thank you!
  1 Commento
KSSV
KSSV il 3 Mag 2018
There is only one plot in the code..._trisurf_ where is the other plot?

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by