chengzb187的个人博客分享 http://blog.sciencenet.cn/u/chengzb187

博文

[转载]matlab ezsurf函数 绘制三维表面图

已有 2435 次阅读 2019-2-23 22:49 |个人分类:matlab|系统分类:科研笔记|文章来源:转载

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

--------------------- 

作者:漂流瓶jz 

来源:CSDN 

原文:https://blog.csdn.net/qq278672818/article/details/62038689 

版权声明:本文为博主原创文章,转载请附上博文链接!




https://blog.sciencenet.cn/blog-358965-1163834.html


下一篇:Working on the world of tomorrow!
收藏 IP: 93.66.136.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-24 04:03

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部