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

12 views (last 30 days)

Accepted Answer

VBBV
VBBV on 10 Dec 2020
  2 Comments
Okan Kara
Okan Kara on 10 Dec 2020
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;

Sign in to comment.

More Answers (0)

Categories

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

Community Treasure Hunt

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

Start Hunting!