How to draw 3D plot in matlab with labels?

조회 수: 2 (최근 30일)
VIJAY
VIJAY 2020년 5월 25일
댓글: KSSV 2020년 5월 25일
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?

채택된 답변

KSSV
KSSV 2020년 5월 25일
편집: KSSV 2020년 5월 25일
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
VIJAY
VIJAY 2020년 5월 25일
y = ones(size(y)) ; made an error
KSSV
KSSV 2020년 5월 25일
Ohh yes....edited the code...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by