How to i draw two trisurf plots on one diagram?

2 Ansichten (letzte 30 Tage)
Darren Koh
Darren Koh am 3 Mai 2018
Kommentiert: KSSV am 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 Kommentar
KSSV
KSSV am 3 Mai 2018
There is only one plot in the code..._trisurf_ where is the other plot?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by