Plotting Column X vs Column Y?

7 ビュー (過去 30 日間)
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia 2023 年 3 月 21 日
Having this table, how can I obtain a graph that shows on x-axis the first column values and on y-axis the second column values?

採用された回答

Cameron
Cameron 2023 年 3 月 21 日
編集済み: Cameron 2023 年 3 月 21 日
scatter(x(:,1),x(:,2))
  3 件のコメント
Les Beckham
Les Beckham 2023 年 3 月 21 日
Use plot() instead of scatter().
Luis Ricardo Rivera Goitia
Luis Ricardo Rivera Goitia 2023 年 3 月 21 日
I used plot before using scatter, and didn't work as scatter writing down the values of time in the x-axis. But I'll try, thx.

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

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by