답변 (1개)

Brahmadev
Brahmadev 2024년 4월 24일

0 개 추천

You can use the following code for contour plot of your data:
filePath = 'filePath/k.txt'; % Define the file path
dataMatrix = readmatrix(filePath);
zz = dataMatrix(:, 3);
v=-50:0.001:50; % contour levels
tri=delaunay(dataMatrix(:, 1), dataMatrix(:, 2));
[C,h]=tricontour(tri,dataMatrix(:, 1),dataMatrix(:, 2),zz,v);
Hope this helps!

카테고리

태그

질문:

2024년 4월 24일

답변:

2024년 4월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by