www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/SpecifyLineStyle1Example.m
%% 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,'--')