How to make a global map

조회 수: 4 (최근 30일)
Naoki Ishibashi
Naoki Ishibashi 2016년 9월 27일
댓글: Naoki Ishibashi 2016년 10월 12일
I have 4 types data sets, Daily global maps of Earth’s surface temperature and near-surface air temperature, precipitable water and cloud water path for the whole year 2004. Map covers whole globe at 2.5 degree intervals = 72 x 144 array. How can I make a global map?

답변 (2개)

KSSV
KSSV 2016년 9월 27일
You may have a look on this:
https://www.eoas.ubc.ca/~rich/map.html

Kelly Kearney
Kelly Kearney 2016년 9월 28일
If you have the Mapping Toolbox, geoshow with worldmap is usually good for a first pass:
data = rand(72,144);
rv = [0.4 90 0];
worldmap('world');
geoshow(data, rv, 'displaytype', 'texturemap');
C = load('coast');
plotm(C.lat, C.long, 'k');
Note that here I'm georeferencing using a reference vector, rv, which defines your grid resolution (0.4 cells/degree) and corner (upper left corner at 90N, 0E).
Alternatively, if you want more control over the projection, plotting details, etc., look into axesm, pcolorm, surfm, etc.
  댓글 수: 5
Kelly Kearney
Kelly Kearney 2016년 10월 10일
The plotting parts of the code would stay the same; the only difference would be the data that you pass to the plotting functions (i.e. the x variable in the examples above).
Naoki Ishibashi
Naoki Ishibashi 2016년 10월 12일
Thank you so much. I can do.

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

카테고리

Help CenterFile Exchange에서 Mapping Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by