I'm trying to plot the following command
as points rather than a linear line how do i do that?

 採用された回答

その他の回答 (1 件)

Reza Mohammadkhani
Reza Mohammadkhani 2020 年 3 月 23 日

1 投票

Sets the line style as none, and select a marker as you like. For example:
plot(x, y,'linestyle','none','marker','o')

2 件のコメント

KaoYuKaoYu
KaoYuKaoYu 2023 年 2 月 20 日
But the matlab tell me "Unrecognized attribute none for class Line."
Moose
Moose 2023 年 4 月 25 日
Can't upvote this but your response just answered a question I've been puzzling over for entirely too long haha. thank you so much!!

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by