Plot scatterplot showing row and column numbers
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
A=[1.0 0.7 0.6 0.5
0.8 1.0 0.5 0.1
0.2 0.3 1.0 0.2
0.1 0.8 0.6 1.0];
I need to plot a scatter
X Y
A(2,1) A(1,2)
A(3,1) A(1,3)
A(4,1) A(1,4)
. . likewise, But I need to show numbers in the scatterplot as row and col. Can somebody suggest me a way to do it?
Thanks in advance,
댓글 수: 0
답변 (1개)
Azzi Abdelmalek
2014년 6월 12일
편집: Azzi Abdelmalek
2014년 6월 12일
scatter(A(2:end,1),A(1,2:end))
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Scatter Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!