Plot 2d line from matrix data
조회 수: 15 (최근 30일)
이전 댓글 표시
Hey,
I have 2d matrix data (100X2) and I want to plot line from it.
For example: each row is one point, (1,1) = X & (1,2) = Y. From all those 100 points I want to draw a line.
10x,
Itay
댓글 수: 0
채택된 답변
Azzi Abdelmalek
2013년 3월 6일
편집: Azzi Abdelmalek
2013년 3월 6일
plot(A(:,1),A(:,2))
Example
A=[1:100;rand(1,100)]'
plot(A(:,1),A(:,2))
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!