Hello Everyone , I have a matrix that is 2018X4 double and I need to create a scatter plot that uses column 2 as the X and column 1 as the Y. Is there a simple way to go about doing this?
Eric

 채택된 답변

Apratim Bajpai
Apratim Bajpai 2017년 6월 8일

0 개 추천

You can use, scatter(A(:,1),A(:,2))
Where A is the matrix in question.

추가 답변 (0개)

카테고리

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

태그

질문:

2017년 6월 8일

댓글:

2020년 4월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by