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

    %% Plot Multiple Lines in Same Axes
% Plot two lines using |hold on|.

fplot(@(x) sin(x))
hold on 
fplot(@(x) cos(x))
hold off