How to plot points without line
443 views (last 30 days)
Show older comments
I'm trying to plot the following command
as points rather than a linear line how do i do that?
0 Comments
Accepted Answer
More Answers (1)
Reza Mohammadkhani
on 23 Mar 2020
Sets the line style as none, and select a marker as you like. For example:
plot(x, y,'linestyle','none','marker','o')
2 Comments
Moose
on 25 Apr 2023
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!!
See Also
Categories
Find more on 2-D and 3-D Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!