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?

More Answers (1)

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

2 Comments

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!!

Sign in to comment.

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!