How to i draw two trisurf plots on one diagram?

2 visualizaciones (últimos 30 días)
Darren Koh
Darren Koh el 3 de Mayo de 2018
Comentada: KSSV el 3 de Mayo de 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 comentario
KSSV
KSSV el 3 de Mayo de 2018
There is only one plot in the code..._trisurf_ where is the other plot?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Surface and Mesh Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by