Changing the z-location of a 2D triplot

1 次查看(过去 30 天)
Good day,
I have the following code:
numx=3;
numy=3;
xgrid=0:(1/numx):1;
ygrid=0:(1/numy):1;
[X,Y] = meshgrid(xgrid,ygrid);
DT = DelaunayTri(X(:),Y(:));
triplot(DT)
Which works fine.
I am combing this 2D plot together with a 3D plot. Now I would like to shift the triplot from z=0 to some other z value, for example z=-1.
Can anyone tell me how to achieve this?
Thank you in advance!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by