adding annotation to a map

2 ビュー (過去 30 日間)
Keihan
Keihan 2018 年 4 月 26 日
回答済み: Walter Roberson 2018 年 4 月 26 日
I'm trying to specify the location of an annotation for a map plot in terms of latitude and longitude instead of figure dimensions which is a number between 0 and 1. Is there a way to specify the annotation location in terms of lat and long on a map plot?

採用された回答

Walter Roberson
Walter Roberson 2018 年 4 月 26 日
There is a File Exchange contribution https://www.mathworks.com/matlabcentral/fileexchange/32536-annotation-pinned-to-axes that pins annotations to axes instead of to figures, allowing you to specify the coordinates in axes coordinates. It probably does not work directly on map axes because the coordinate transformation for map axes is nonlinear, but perhaps you could make some adaptations.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMap Display についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by