How to draw 3D plot in matlab with labels?

I have 70*6 matrix .The row indicate as Line Number and column indicates asPower Loss. I have to draw a 3D plot for 70Line number for 6 scenario for this Power Loss.Herewith i attached model graph.How to form matlab code to get attached image of 3D plot?

 Accepted Answer

KSSV
KSSV on 25 May 2020
Edited: KSSV on 25 May 2020
You can porceed something like this:
A = rand(70,6) ;
x = 1:70 ;
y = ones(size(x)) ;
figure
hold on
for i = 1:6
plot3(x,i*y,A(:,i))
end

2 Comments

y = ones(size(y)) ; made an error
Ohh yes....edited the code...

Sign in to comment.

More Answers (0)

Tags

Asked:

on 25 May 2020

Commented:

on 25 May 2020

Community Treasure Hunt

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

Start Hunting!