Is it possible to change range and order label to latitude/longitude in an azimuthal projection using Mapping Toolbox?
2 次查看(过去 30 天)
显示 更早的评论
Omar Andrés Rosada González
2020-8-17
评论: Omar Andrés Rosada González
2020-9-25
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):
But using the mapping toolbox, this is what I get.
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);
0 个评论
采纳的回答
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!