matlab怎么求ezplot的句柄,matlab中的ezplot函数

一个容易使用的绘图函数

语法

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')

0818b9ca8b590ca3270a3433284dd417.png

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值