How to plot multiple lines groups in 3D graph as in picture ?

12 次查看(过去 30 天)

采纳的回答

VBBV
VBBV 2020-12-10
  2 个评论
Okan Kara
Okan Kara 2020-12-10
I also want to add matlab code of the problem I solved.
x1=[0 0 0 0 0 0];
y1=[2 4 6 8 10 12];
x2=[1 14 30 55 125 150];
plot3(x1,y1,x2);
hold on;
x1=[0 0 0 0 0 0];
y1=[2 4 6 8 10 12];
x2=[2 10 30 50 85 120];
plot3(x1,y1,x2);
hold on;
x1=[1 1 1 1 1 1];
plot3(x1,y1,x2);
hold off;

请先登录,再进行评论。

更多回答(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