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

    %% Change Line Properties and Display Markers
% Plot the same 3-D parametric curve three times over different intervals of
% the parameter. For 
% the first curve, use a linewidth of |2|. For the second, specify a dashed
% red line style with circle markers. For the third, specify a cyan,
% dash-dot line style with asterisk markers.
syms t
fplot3(sin(t), cos(t), t, [0 2*pi], 'LineWidth', 2)
hold on
fplot3(sin(t), cos(t), t, [2*pi 4*pi], '--or')
fplot3(sin(t), cos(t), t, [4*pi 6*pi], '-.*c')