Plotting a matrix of co-ordinates

4 ビュー (過去 30 日間)
MOLE
MOLE 2020 年 1 月 29 日
編集済み: David Goodmanson 2020 年 1 月 30 日
I have a bunch of points in 2D as a 2 by 56 matrix, and need to make a 2D plot with these points marked on it showing all these point co-ordinates. How do I achieve it?

採用された回答

David Goodmanson
David Goodmanson 2020 年 1 月 30 日
編集済み: David Goodmanson 2020 年 1 月 30 日
Hi Anmoi,
points = rand(2,56)
plot(points(1,:),points(2,:),'o')
grid on
If you go to the help for plot you will find many other markers and colors to choose from.

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by