How to plot points without line

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

更多回答(1 个)

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

2 个评论

But the matlab tell me "Unrecognized attribute none for class Line."
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 Exchange 中查找有关 2-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