www.gusucode.com > graphics 案例源码程序 matlab代码 > graphics/ChangeLineStyleAndWidthExample.m

    %% Change Line Style and Width
% Plot the contours of $x^2 - y^2$ as dashed lines with a line width
% of |2|. 

f = @(x,y) x.^2 - y.^2;
fcontour(f,'--','LineWidth',2)