首页 > 其他 > 详细

matlab中的ezplot函数

时间:2014-04-12 12:01:39      阅读:726      评论:0      收藏:0      [点我收藏+]

一个容易使用的绘图函数

语法

ezplot(f)
ezplot(f,[min,max])
ezplot(f,[xmin,xmax,ymin,ymax])
ezplot(x,y)
ezplot(x,y,[tmin,tmax])
ezplot(...,figure_handle)
ezplot(axes_handle,...)
h = ezplot(...)

描述

1、ezplot(f)  在默认区间[-2pi,2pi]上绘制函数f=f(x)     f 可以是定义函数的M文件名或者一个匿名函数或者一个字符串

2、ezplot(f,[min,max])   在区间min < x < max上绘制函数 f = f(x) 

3、对于隐式定义的函数f = f(x,y):ezplot(f)绘制的是 f(x,y) = 0   默认区间是 -2pi < x < 2pi, -2pi < y < 2pi.

4、ezplot(f,[xmin,xmax,ymin,ymax]) :绘制 f(x,y) = 0   区间是xmin < x < xmax and ymin < y < ymax.

5、ezplot(f,[min,max])  :绘制 f(x,y) = 0   区间:min < x < max and min < y < max.

6、ezplot(x,y): 绘制含参函数 x = x(t)和y = y(t)  默认区间: 0 < t < 2pi.

7、ezplot(x,y,[tmin,tmax]):   绘制含参函数 x = x(t)和y = y(t)  区间:tmin < t < tmax.

8、ezplot(...,figure_handle)   在指定的区域,在figure窗口绘制通过handle figure指定的函数

9、ezplot(axes_handle,...)   plots into the axes with handle axes_handle instead of the current axes (gca).

10、h = ezplot(...) returns the handles to a line objects in h.

例子

绘制隐式函数x2 - y4 = 0 区间:[-2pi,2pi]

ezplot(‘x^2-y^4‘)

bubuko.com,布布扣

matlab中的ezplot函数,布布扣,bubuko.com

matlab中的ezplot函数

原文:http://blog.csdn.net/u010142437/article/details/23433825

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!