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

    %% Change Line Style, Color and Width
% Plot the contours of $x^2 - y^2$ as blue, dashed lines by specifying the
% |LineSpec| input. Specify a |LineWidth| of |2|. Markers are not supported by |fcontour|.
syms x y
fcontour(x^2 - y^2,'--b','LineWidth',2)