How to connect dots in figure?

조회 수: 1 (최근 30일)
Harsha M V
Harsha M V 2021년 9월 17일
편집: Chunru 2021년 9월 17일
I have a 50x6 matrix,
How to plot this matrix, such that all row data are conncted?
It should be like 50 lines in the figure.

답변 (1개)

Chunru
Chunru 2021년 9월 17일
편집: Chunru 2021년 9월 17일
% data
x = randn(50, 6)*.5+(1:6);
% 6 lines, 50 data points each line
% if you really want to plot 50 lines, then: plot(x')
plot(x)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by