フィルターのクリア

Aspect Ratio for geoaxes

14 ビュー (過去 30 日間)
Mia Hoffman
Mia Hoffman 2021 年 11 月 29 日
回答済み: Abhinaya Kennedy 2024 年 2 月 15 日
I am trying to set the data aspect ratio for a geoaxes() similar to doing axis equal or axis square in a regular axes(). Any guidance would be appreciated.

回答 (1 件)

Abhinaya Kennedy
Abhinaya Kennedy 2024 年 2 月 15 日
Hi Mia,
In MATLAB, for a “geoaxes” object, you cannot directly set an equal data aspect ratio like axis equal due to the nature of map projections. However, you can
  1. Try to approximate aspect ratio by setting equal latitude and longitude ranges with “MapLatLimit” and “MapLonLimit”.
  2. Use “daspectm('m',1)” to adjust the meridian-to-parallel distance ratio, though it may not be perfect.
  3. For precise 1:1 distance ratio, consider an azimuthal projection for small areas.
You can also refer to the links below.

カテゴリ

Help Center および File ExchangeGeographic Plots についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by