plotting the data

2 views (last 30 days)
Villanova
Villanova on 1 Oct 2011
Hi. If you plot this x = [6 8 9]; y = [2 5 9]; plot(x,y)
you get more like a curve. I was wondering how you can only plot only the data points instead. Thanks

Accepted Answer

the cyclist
the cyclist on 1 Oct 2011
>> plot(x,y,'.')
"doc plot" for details.

More Answers (0)

Categories

Find more on 2-D and 3-D Plots 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!