%% Specify Line Style
% This example shows how to create a plot using a dashed line. Add the
% optional line specification string, |'--'|, to the |x,y| pair.

% Copyright 2015 The MathWorks, Inc.


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

figure
plot(x,y,'--')