Is it possible to change range and order label to latitude/longitude in an azimuthal projection using Mapping Toolbox?

4 ビュー (過去 30 日間)
Hello everyone.
Is my first time trying to use the Mapping Toolbox. I need to do a polar equal-area azimuthal projection. I would like to make something like this (I made this one using polarplot function):
polarplot
But using the mapping toolbox, this is what I get.
mappintoolbox
So, I have to change the latitude/longitude labels of latter projection (from Mapping Toolbox) to something similar to the first one (when I did make use of polarplot function). Is it possible to do this with mapping toolbox?. How could I make it?.
Thank you.
PD: This is the code that I'm using with the Mapping Toolbox.
axesm('lambert',...
'MapProjection','eqaazim',...
'Frame','on',...
'Grid','on',...
'MapLatLimit',[0,90])
axis off; framem on; gridm on; mlabel on; plabel on
setm(gca,'FLineWidth',1,...
'Origin',[-90,0],...
'MLabelParallel',0,...
'MLineLocation',10,...
'PLineLocation',10,...
'MLineLimit',[-80,80],...
'MLineException',[-90,0,90,180],...
'PlabelLocation',20,...
'labelrotation','on')
northarrow('latitude', 10, 'longitude', 0);

採用された回答

Alan Moses
Alan Moses 2020 年 9 月 2 日
You may check the Map Axes Properties to control axes appearance and label properties. You can use mlabelzero22pi to change the range of labels to 0-360 degrees. Following code shows addition of two properties to your code and mlabelzero22pi which can fetch a similar look to that of your polar plot:
setm(gca,'FLineWidth',1,...
'Origin',[-90,0],...
'MLabelParallel',0,...
'MLineLocation',10,...
'PLineLocation',10,...
'MLineLimit',[-80,80],...
'MLineException',[-90,0,90,180],...
'PlabelLocation',20,...
'labelrotation','on',...
'LabelFormat','none',...
'PLabelMeridian','prime')
mlabelzero22pi
Hope this helps!

その他の回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by