How to i draw two trisurf plots on one diagram?

1 view (last 30 days)
Darren Koh
Darren Koh on 3 May 2018
Commented: KSSV on 3 May 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 Comment
KSSV
KSSV on 3 May 2018
There is only one plot in the code..._trisurf_ where is the other plot?

Sign in to comment.

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!