MATLAB: Plotting the data

plotting

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

Best Answer

>> plot(x,y,'.')
"doc plot" for details.