Map projection selection - axesmui not working

3 ビュー (過去 30 日間)
Zel Hurewitz
Zel Hurewitz 2023 年 5 月 15 日
回答済み: Aditya Srikar 2023 年 5 月 26 日
When I try to use axesmui, I get the following error after making any change and hitting Apply:
Mapping Error: There is data in a hggroup that cannot be reprojected.
Anything I can do about it? This would be a really useful tool if it works!
Cheers!
figure(1)
clf
usamap('conus')
states= readgeotable('usastatehi.shp');
geoshow(states)
axesmui

回答 (1 件)

Aditya Srikar
Aditya Srikar 2023 年 5 月 26 日
The "Mapping Error: There is data in a hggroup that cannot be reprojected" error occurs when there is a limitation with the axesmui function in how it handles certain types of graphics objects. You may need to use the built-in MATLAB "plotm" function instead, which provides similar functionality to axesmui but may not have these limitations.

カテゴリ

Help Center および File ExchangeCoordinate Transformations and Trajectories についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by