%% Plot Only Data Points
% This example shows how to plot only the data points by omitting the line
% style option from the line specification string.
%
% Define the data |x| and |y|. Plot the data and display a star marker at
% each data point.

% Copyright 2015 The MathWorks, Inc.

x = linspace(0,2*pi,25);
y = sin(x);

figure
plot(x,y,'*')