Adjustment of Contour Plot

조회 수: 1 (최근 30일)
JACK LONDON
JACK LONDON 2023년 1월 7일
댓글: Adam Danz 2023년 1월 7일
I have data consist of X(x coordinate) Y(y coordinate) Z(velocity). I created below countour plot with below code:
xyz = readmatrix('velocity.txt');
plot(xyz(:,1),xyz(:,2),'.')
I = scatteredInterpolant(xyz(:,1),xyz(:,2),xyz(:,3));
[x,y] = meshgrid(unique(xyz(:,1)),unique(xyz(:,2)));
contourf(x,y,I(x,y))
colorbar
However, I tried to plot contour graph with special software It gives more detail about ploting given below:
I want to plot in this format in Matlab.
-The contour line more smooth and rounded
-Contor line magnitude is given
Note: Iteration method is "Krigging" but in MATLAB it could be different I tried to plot contour graph similar to last image. Thank you.
  댓글 수: 4
JACK LONDON
JACK LONDON 2023년 1월 7일
I use Arcgis software and I used interpolant automatically calculated from the software
Adam Danz
Adam Danz 2023년 1월 7일
There are some kriging interpolation function on the file exchange you could try:

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by