MATLAB之隐函数作图ezplot
>> help ezplot
ezplot - Easy-to-use function plotter 易于使用的函数绘图机
This MATLAB function plots the expression fun(x) over the default domain -2π < x< 2π, where fun(x) is an explicit function of only x. 这个 MATLAB 函数情节表达有趣(x)/默认域 2π< x< 2π,有趣的 (x) 是一个显式的函数只有 x 。
ezplot( fun )
ezplot( fun , [xmin,xmax] )
ezplot( fun2 )
ezplot( fun2 , [xymin,xymax] )
ezplot( fun2 , [xmin,xmax,ymin,ymax] )
ezplot( funx , funy )
ezplot( funx , funy , [tmin,tmax] )
ezplot( ... , figure_handle )
ezplot( axes_handle , ... )
h = ezplot( ... )
ezplot - Easy-to-use function plotter 易于使用的函数绘图机
This MATLAB function plots the expression fun(x) over the default domain -2π < x< 2π, where fun(x) is an explicit function of only x. 这个 MATLAB 函数情节表达有趣(x)/默认域 2π< x< 2π,有趣的 (x) 是一个显式的函数只有 x 。
ezplot( fun )
ezplot( fun , [xmin,xmax] )
ezplot( fun2 )
ezplot( fun2 , [xymin,xymax] )
ezplot( fun2 , [xmin,xmax,ymin,ymax] )
ezplot( funx , funy )
ezplot( funx , funy , [tmin,tmax] )
ezplot( ... , figure_handle )
ezplot( axes_handle , ... )
h = ezplot( ... )
-
ezplot适用条件
“ezplot”命令可以用于显函数、隐函数和参数方程作图。
-
不同函数的使用格式
显函数y=f(x) , ezplot 函数的调用格式为 ezplot(f, [xmin,xmax]);
隐函数f(x,y)=0 , ezplot 函数的调用格式为 ezplot(f, [xmin,xmax] , [ymin,ymax]);
参数方程x=x(t) , y=y(t) , ezplot 函数的调用格式为 ezplot(x , y , [tmin,tmax])