Contour Plot for Scattered Data

版本 1.0.0.0 (3.8 KB) 作者: Duane Hanselman
Triangular Contour Plot
7.0K 次下载
更新 2012/10/31

查看许可证

TRICONTOUR(TRI,X,Y,Z,N) draws scalar N contour lines treating the values in Z as heights above a plane. TRI,X,Y,and Z define a triangulation where the triangles are defined by the M-by-3 face matrix TRI, such as that returned by DELAUNAY. Each row of TRI contains indices into the X,Y, and Z vertex vectors to define a single triangular face. Contours are computed directly from the triangulation rather than interpolating back to a cartesian grid using GRIDDATA.
TRICONTOUR(TRI,X,Y,Z,V) draws length(V) contour lines at the values specified in vector V.
TRICONTOUR(TRI,X,Y,Z,[v v]) draws a single contour line at the level v.
[C,H] = TRICONTOUR(...) returns contour matrix C as described in CONTOURC and a vector of handles H to the created patch objects.
H can be used to set patch properties.
CLABEL(C) or CLABEL(C,H) labels the contour levels.

引用格式

Duane Hanselman (2026). Contour Plot for Scattered Data (https://ww2.mathworks.cn/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Contour Plots 的更多信息
版本 已发布 发行说明
1.0.0.0