没有合适的资源?快使用搜索试试~ 我知道了~
matlab画三维图像 - Matlab中曲面的三维绘图
5星 · 超过95%的资源 需积分: 6 12 下载量 174 浏览量
2022-11-26
09:10:21
上传
评论 1
收藏 639KB PDF 举报
温馨提示
试读
10页
matlab画三维图像: Matlab中曲面的三维绘图 创建函数网格的曲面 图形三维线条图 图形三维等高线图 在体积切片平面中绘制等高线
资源推荐
资源详情
资源评论
3D plot of a surface in Matlab
3D plot of a surface in Matlab
Create a surface of function mesh
Graphics 3-D line plot
Graphics 3-D contour plot
Draw contours in volume slice planes
For 3-D shaded surface plot use command:
surf(Z)
surf(Z,C)
surf(X,Y,Z)
surf(X,Y,Z,C)
surf(...,'PropertyName',PropertyValue)
surf(axes_handles,...)
h = surf(...)
surf(Z) creates a three-dimensional shaded surface from the z components in matrix Z, using x =
1:n and y = 1:m, where [m,n] = size(Z). The height, Z, is a single-valued function defined over a
geometrically rectangular grid. Z specifies the color data, as well as surface height, so color is
proportional to surface height.
surf(Z,C) plots the height of Z, a single-valued function defined over a geometrically rectangular
grid, and uses matrix C, assumed to be the same size as Z, to color the surface. See Coloring
Mesh and Surface Plots for information on defining C.
surf(X,Y,Z) uses Z for the color data and surface height. X and Y are vectors or matrices
defining the x and y components of a surface. If X and Y are vectors, length(X) = n and
length(Y) = m, where [m,n] = size(Z). In this case, the vertices of the surface faces are (X(j),
Y(i), Z(i,j)) triples. To create X and Y matrices for arbitrary domains, use the meshgrid function.
surf(X,Y,Z,C) uses C to define color. MATLAB® performs a linear transformation on this data
to obtain colors from the current colormap.
surf(...,'PropertyName',PropertyValue) specifies surface properties along with the data. For a list
of properties, see Chart Surface Properties.
surf(axes_handles,...) plots into the axes with handle axes_handle instead of the current axes
(gca).
h = surf(...) returns a handle to a chart surface graphics object.
极速learner
- 粉丝: 38
- 资源: 85
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页