Is it possible to change range and order label to latitude/longitude in an azimuthal projection using Mapping Toolbox?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Omar Andrés Rosada González
el 17 de Ag. de 2020
Comentada: Omar Andrés Rosada González
el 25 de Sept. de 2020
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 comentarios
Respuesta aceptada
Alan Moses
el 2 de Sept. de 2020
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!
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!