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!