風のuとv成分を世界地図にベクトルで表示する方法

조회 수: 11 (최근 30일)
Naoki Ishibashi
Naoki Ishibashi 2016년 12월 16일
편집: michio 2016년 12월 16일
添付の風のuとv成分(2.5度刻み, 73 x 144)を世界地図にベクトルで表示させたいと考えています。以下のコーデはうまくいかず、何かアドバイス頂けると幸いです。 以下コードです
u_1 = load('Uwind_2001_1.txt');
v_1 = load('Vwind_2001_1.txt');
u = reshape(u_1,73,144);
v = reshape(v_1,73,144);
rv = [0.4 90 180];
worldmap('world');
x = quiver(u,v);
geoshow(x, rv, 'displaytype', 'texturemap');
C = load('coast');
plotm(C.lat, C.long, 'k');
  댓글 수: 1
Walter Roberson
Walter Roberson 2016년 12월 16일
Approximate translation:
How to display the u and v components of the wind in a world map
I want to display the u and v components (2.5 times, 73 x 144) of the attached wind as a vector on the world map. The following code does not go well and I'd appreciate any advice. Below is the code

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

답변 (1개)

michio
michio 2016년 12월 16일
편집: michio 2016년 12월 16일
quiverm 関数 が使えるかと思います。確認してみてください。
u_1 = load('Uwind_2001_1.txt');
v_1 = load('Vwind_2001_1.txt');
u = reshape(u_1,73,144);
v = reshape(v_1,73,144);
rv = [0.4 90 180];
worldmap('world');
lat = linspace(-90,90,73);
lon = linspace(-180,180,144);
[y,x] = ndgrid(lat,lon);
h = quiverm(y,x,v,u);
C = load('coast');
plotm(C.lat, C.long, 'k');

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by