how to plot smooth contour using the data?

1 回表示 (過去 30 日間)
SGMukherjee
SGMukherjee 2018 年 12 月 10 日
回答済み: KSSV 2018 年 12 月 10 日
I have data as attached. I have electron density values for different latitudes and longitudes. The latitude range (y axis) is 10 - 30 and the longitude range is 70 - 95 (x axis). Each value of latitude and longitude has a corresponding electron density value. I want a contour plot based on this data.

採用された回答

KSSV
KSSV 2018 年 12 月 10 日
[num,txt,raw] = xlsread('Data_oct1.xlsx') ;
lat = num(2:end,1) ;
lon = num(1,2:end) ;
A = num(2:end,2:end) ;
contour(lon,lat,A)

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2015a

Community Treasure Hunt

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

Start Hunting!

Translated by