i have attached one excel file which contains 3 column long,lat,data.I want to draw a contour plot

1 件のコメント

darova
darova 2020 年 4 月 11 日
Did you try something? Your desire is not enough. I want some effort

サインインしてコメントする。

 採用された回答

Ameer Hamza
Ameer Hamza 2020 年 4 月 11 日
編集済み: Ameer Hamza 2020 年 4 月 11 日

0 投票

Something like this
data = readmatrix('final.xlsx');
x = data(:,1);
y = data(:,2);
v = data(:,3);
[X,Y] = meshgrid(unique(x), unique(y));
V = reshape(v, size(X));
contour(X,Y,V);
Data values at a few points are messing up the colors of all the contour lines. You mat consider filtering values in matrix v in the above code.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeContour Plots についてさらに検索

質問済み:

2020 年 4 月 11 日

編集済み:

2020 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by