How to create a contour plot from 3 vectors
이전 댓글 표시
Hello,
I have a table with 3 columns X,Y,Z.
how do I create a contour ploy for Z(x,y)?
Thank you
채택된 답변
추가 답변 (1개)
Walter Roberson
2024년 2월 4일
numcontours = 5;
%https://www.mathworks.com/matlabcentral/fileexchange/38858-contour-plot-for-scattered-data
TRI = delaunay(X, Y, Z);
tricontour(TRI, X, Y, Z, numcontours);
카테고리
도움말 센터 및 File Exchange에서 Line Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!