trisurfc

버전 1.3.0.0 (5.2 KB) 작성자: Jack Kohoutek
Extends the MATLAB command trisurf() to put a contour plot below the mesh.
다운로드 수: 1.8K
업데이트 날짜: 2009/9/10

라이선스 보기

편집자 메모: Darren Engwirda is a co-author

[cout,hout] = trisurfc(xin,yin,zin,N)

Regularly just called by with the following syntax to produce a plot:
trisurfc(xin,yin,zin,N)
Where xin,yin,zin are 1-D arrays of the x,y,z triples of the points in your mesh.

Contouring and surface function for functions defined on triangular meshes
xin, yin, zin, are arrays of x,y,z values of the points for your surface.
So [x(1) y(1) z(1)] defines the first point, etc.
The last input N defines the contouring levels. There are several options:
N scalar - N number of equally spaced contours will be drawn
N vector - Draws contours at the levels specified in N

A special call with a two element N where both elements are equal draws a single contour at that level.

[C,H] = TRISURFC(...)
This syntax can be used to pass the contour matrix C and the contour handels H to clabel by adding clabel(c,h) or clabel(c) after the call to TRICSURFC.

Contour line code by Darren Engwirda - 2005
Updated 15/05/2006
Surface code added by Jack Kohoutek - 2009

인용 양식

Jack Kohoutek (2025). trisurfc (https://kr.mathworks.com/matlabcentral/fileexchange/25262-trisurfc), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Triangulation Representation에 대해 자세히 알아보기
도움

도움 받은 파일: Contours for triangular grids

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.3.0.0

Adding Darren Engwirda as a second author. Thanks.

1.1.0.0

Just updated the desc.

1.0.0.0