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

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

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

% Copyright 2012 The MathWorks, Inc.