MATLAB Answers

mangood UK

convert this ploygon from 2d to 3d graph

Asked by mangood UK
on 19 Jan 2013
Accepted Answer by Matt J


i have this graph

xv = [1,2,3,4.8,8,10,10,5];
yv = [0,4,7.5,7.9,9,4,0,0];
ylim([-5, 15]);
xlim([0, 15]);

i want to convert this to 3d with z=2 for all point of x-y coordinate

thank in advance regards

  1 Comment

Image Analyst
on 19 Jan 2013

What do you want it to look like? Like just a flat slab?


No products are associated with this question.

1 Answer

Matt J
Answer by Matt J
on 19 Jan 2013
 Accepted answer

  1 Comment

mangood UK
on 19 Jan 2013

hi matt

the graph still 2d !!

is their any change must i do in properties

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!