How to plot points without line

127 次查看(过去 30 天)
I'm trying to plot the following command
as points rather than a linear line how do i do that?

采纳的回答

madhan ravi
madhan ravi 2019-3-23

更多回答(1 个)

Reza Mohammadkhani
Reza Mohammadkhani 2020-3-23
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!!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Mathematics 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by