How to draw 3D plot in matlab with labels?

2 visualizaciones (últimos 30 días)
VIJAY
VIJAY el 25 de Mayo de 2020
Comentada: KSSV el 25 de Mayo de 2020
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?

Respuesta aceptada

KSSV
KSSV el 25 de Mayo de 2020
Editada: KSSV el 25 de Mayo de 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 comentarios
VIJAY
VIJAY el 25 de Mayo de 2020
y = ones(size(y)) ; made an error
KSSV
KSSV el 25 de Mayo de 2020
Ohh yes....edited the code...

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by