How to i draw two trisurf plots on one diagram?

2 vues (au cours des 30 derniers jours)
Darren Koh
Darren Koh le 3 Mai 2018
Commenté : KSSV le 3 Mai 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 commentaire
KSSV
KSSV le 3 Mai 2018
There is only one plot in the code..._trisurf_ where is the other plot?

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by