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 CenterFile Exchange 中查找有关 Geographic Plots 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by