I have a matrix of 50x6 and range between 0 - 1.
Now I have to plot in a way such that X and Y axis range is 0 to 1 and graph should have 50 lines (row-wise data of the matrix).
can you enlightnen me in plotting this?

답변 (2개)

KSSV
KSSV 2021년 9월 20일

0 개 추천

You can striaght away use plot on 50*6 matrix.
plot(A) ; % A is 50*6 matrix
legend

댓글 수: 3

Harsha M V
Harsha M V 2021년 9월 20일
No sir, this gives only 6 lines, i.e column-wise
Harsha M V
Harsha M V 2021년 9월 20일
graph should look like the below image with 50 lines
KSSV
KSSV 2021년 9월 20일
Transpose A..
plot(A') ;

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

Harsha M V
Harsha M V 2021년 9월 21일

0 개 추천

No sir,
It comes column wise
I want something like in the below figure: (50 lines corresponds to 50 rows of the matrix)

댓글 수: 2

KSSV
KSSV 2021년 9월 21일
Attach your data.
Harsha M V
Harsha M V 2021년 9월 22일
data attached Sir

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

카테고리

도움말 센터File Exchange에서 Annotations에 대해 자세히 알아보기

질문:

2021년 9월 20일

댓글:

2021년 9월 22일

Community Treasure Hunt

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

Start Hunting!

Translated by