matlab ezsurf函数 绘制三维表面图
2017-03-14 10:55
471 查看
1、ezsurf(f):创建一个f(x,y)的表面图,f是一个代表两个变量的数学函数的字符串,如x和y。ezsurf调用的是surf的功能。绘制的默认区域是
matlab根据变量出现的数量选择网格,如果函数对网格上的某些点没定义,那么这些点将不会被绘制。
f可以是一个M文件函数句柄,也可以是隐式函数或者字符串形式
2、ezsurf(f,domain):在指定的区间绘制函数f,区间是[xmin, xmax, ymin, ymax] 或者
[min, max]形式
3、ezsurf(x,y,z):在方形区域 -2pi < s < 2pi, -2pi < t <
2pi上绘制参数平面 x = x(s,t), y = y(s,t), and z = z(s,t)
4、ezsurf(x,y,z,[smin,smax,tmin,tmax]) or
ezsurf(x,y,z,[min,max]):使用指定的区域绘制参数平面
5、ezsurf(...,n):使用n x n网格在默认的区域绘制函数。n的默认值是60.
6、ezsurf(...,'circ'):在定义域为中心的磁盘绘制函数
7、ezsurf(axes_handle,...):plots into the axes with handle
axes_handle instead of the current axes (gca).
8、h = ezsurf(...): returns the handles to a surface object in
h
示例
a=@(x,y)(sin(x)+cos(y))
ezsurf(a,[-3,1,-3,1])
matlab根据变量出现的数量选择网格,如果函数对网格上的某些点没定义,那么这些点将不会被绘制。
f可以是一个M文件函数句柄,也可以是隐式函数或者字符串形式
2、ezsurf(f,domain):在指定的区间绘制函数f,区间是[xmin, xmax, ymin, ymax] 或者
[min, max]形式
3、ezsurf(x,y,z):在方形区域 -2pi < s < 2pi, -2pi < t <
2pi上绘制参数平面 x = x(s,t), y = y(s,t), and z = z(s,t)
4、ezsurf(x,y,z,[smin,smax,tmin,tmax]) or
ezsurf(x,y,z,[min,max]):使用指定的区域绘制参数平面
5、ezsurf(...,n):使用n x n网格在默认的区域绘制函数。n的默认值是60.
6、ezsurf(...,'circ'):在定义域为中心的磁盘绘制函数
7、ezsurf(axes_handle,...):plots into the axes with handle
axes_handle instead of the current axes (gca).
8、h = ezsurf(...): returns the handles to a surface object in
h
示例
a=@(x,y)(sin(x)+cos(y))
ezsurf(a,[-3,1,-3,1])
相关文章推荐
- matlab ezplot3 绘制三维函数图
- matlab hist函数 绘制直方图
- matlab area函数 绘制填…
- Matlab绘制三维曲线(plot3)和三维图形(mesh & surf)
- MATLAB pie函数 绘制饼图
- Matlab绘制三维曲线(plot3)和三维图形(mesh & surf)
- svg dom绘制文本
- matlab plot 画线
- Matlab&nbsp;数据的输入和输出
- matlab&nbsp;的&nbsp;colormap&nbsp;函数详…
- svg dom绘制五角星
- html5&nbsp;canvas&nbsp;如何清空之前绘制的…
- VS2010 调用 Matlab2011a
- matlab&nbsp;fscanf
- SVG Dom绘制椭圆
- SVG Dom绘制线段
- matlab&nbsp;图像处理的几个例子[…
- matlab&nbsp;out&nbsp;of&nbsp;memory
- iOS&nbsp;获取当点位置,并绘制当…
- OpenGL&nbsp;绘制长方体&nbsp;计算机图形学