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)

Tags

Community Treasure Hunt

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

Start Hunting!