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

13 visualizzazioni (ultimi 30 giorni)

Risposta accettata

VBBV
VBBV il 10 Dic 2020
  2 Commenti
Okan Kara
Okan Kara il 10 Dic 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;

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by