geoscatter​とベクトルの重ね合わ​せについて

5 Ansichten (letzte 30 Tage)
Hiroki Takeda
Hiroki Takeda am 23 Mai 2022
Kommentiert: Hiroki Takeda am 25 Mai 2022
以下のようなベクトル(風)と任意座標の点(geoscatter)を重ねた図を書きたいと思っています。
例えばですが,下記のようなもの二つを重ね合わせたものです。
<イメージ>
 *緯度経度グリッド情報,netCDF形式
・任意座標の点(geoscatter)https://jp.mathworks.com/help/matlab/ref/geoscatter.html
 *任意の緯度経度情報,.mat形式
<現状>
任意座標(lat, lon)で,変数Aについての点(geoscatter)で書いた状態です。Aはその大きさに応じて色を塗っています。また,点はcirclesizeに応じてgeoscatterの大きさを変更しています。
% Figureの設定
f = figure('Position',[100 100 1000 800]); %[left bottom width height]
geoscatter(lat,lon,circlesize,A,'o','filled');hold on;
caxis([0.6 2.6]);colormap("jet");colorbar;hold on;
title(['size(median) Map']);
xlabel('longitude [degree]');
ylabel('latitude [degree]');
ax = gca;ax.FontSize = 20;
<希望>
変数u(東西方向流速)とv(南北方向流速)がgrid dataでございます(1/12°間隔)。
変数Aについての点(geoscatter)で書いた状態に加え,grid dataのベクトル(海水の流速)情報を描きたいと思っています。
どのようにすればよろしいでしょうか。
ご教示くださりますと幸いです。よろしくお願いいたします。
・その他希望
 *地図は日本周辺のみで良いです。
 *上記だと,なぜかxlabelとylabelが記載できません(mapだからでしょうか?)。

Akzeptierte Antwort

Hernia Baby
Hernia Baby am 23 Mai 2022
Bearbeitet: Hernia Baby am 23 Mai 2022
どうもgeoscatter上には quiver は載せられないみたいですね…
これはaxes typeがgeographic axesだからみたいです。
annotation をうまく使うか、FileExchange から探すしかなさそうです。
適当に探すと以下のような物が見つかりました。
  1 Kommentar
Hiroki Takeda
Hiroki Takeda am 25 Mai 2022
いつもありがとうございます。助かりました。ありがとうございました。

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!