Clear Filters
Clear Filters

Changing the z-location of a 2D triplot

1 view (last 30 days)
Pieter
Pieter on 14 Apr 2013
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!

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!