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

    %% Plot an Explicit Function
% Plot the explicit function $x^2$ over the domain $[-2\pi,2\pi]$.

% Copyright 2015 The MathWorks, Inc.


ezplot('x^2')

%%
% The default domain is $[-2\pi,2\pi]$.