matlab定义ezpolt,matlab中的ezplot3函数
一个好用的三维曲线绘制函数
语法
ezplot3(x,y,z)
ezplot3(x,y,z,[tmin,tmax])
ezplot3(...,‘animate‘)
ezplot3(axes_handle,...)
h = ezplot3(...)
描述
1、ezplot3(x,y,z) :在默认区间0
2、ezplot3(x,y,z,[tmin,tmax]):在tmin < t < t max上绘制曲线 x = x(t), y = y(t), and z = z(t)
3、ezplot3(...,‘animate‘): 产生一个空间曲线的动态轨迹
4、ezplot3(axes_handle,...) : plots into the axes with handle axes_handle instead of the current axes (gca).
5、h = ezplot3(...): returns the handle to a line object in h.
例子
绘制参变量函数:x=sin(t) ,y=cos(t),z=t 区间:[0,6pi]
ezplot3(‘sin(t)‘,‘cos(t)‘,‘t‘,[0,6*pi])
原文:http://blog.csdn.net/u010142437/article/details/23444389