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.

1 件のコメント

Saundie Franz
Saundie Franz 2020 年 4 月 27 日
this did not work

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by