mapにplotをする方法
16 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hiroki Takeda
le 1 Mai 2022
Réponse apportée : Toru Ikegami
le 2 Mai 2022
下記のようなworldmapに、指定(任意)の緯度経度の点(tlon,tlat)にAのデータをplotをしたいと思っております。
・どのようにすれば、plotできるのか?
・plotの点の種類(×や*など)の指定はできるのか?
・plotの点をAの数値ごとにplotの色を分けたいが、どのようにすればいいのか?
を疑問に思っております。
ご教示くださいますと幸いです。よろしくお願いいたします。
% Figureの設定
f = figure('Position',[100 100 1000 800]); %[left bottom width height]
movegui(f,'east');
% 北緯, 東経の領域を表示
worldmap([-89.9,89.9],[-179.9,180]);
land = shaperead('landareas.shp', 'UseGeoCoords', true);
% 海岸線(陸地部分)表示
geoshow(land, 'FaceColor', [0.3 0.3 0.3]);hold on;
0 commentaires
Réponse acceptée
Toru Ikegami
le 2 Mai 2022
こんにちは,
f = figure('Position',[100 100 1000 800]); %[left bottom width height]
% 北緯, 東経の領域を表示
worldmap([-89.9,89.9],[-179.9,180]);
land = shaperead('landareas.shp', 'UseGeoCoords', true);
% 海岸線(陸地部分)表示
geoshow(land, 'FaceColor', [0.3 0.3 0.3]);
lat = 35.68956;
lon = 139.6917;
geoshow(lat,lon,"Marker","p","MarkerSize",16,"LineWidth",2,"MarkerFaceColor",[1 1 0],"MarkerEdgeColor","r");
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur グラフィックス オブジェクトの識別 dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!