I would like to know how to make sure the latitude labels have decimals in them.
I have this code creating a map of a small portion of Antarctica. I have the latitude lines appearing ever half of a degree, but the labels still show single degrees. Is it possible to have the labels have decimals?
Also is it possible to have the longitude lines appear with labels on the map instead of on the edge?
The base of the map is Bedmap.
figure(‘Color’,’w’)%Colors the figure white .
set(gca, ‘Color’, ‘none’);
mapzoom(-81.6, -148.8);%’size’,[100 100]);
framem on ; gridm on ; mlabel on ; plabel on ;
bedmap2(‘gl’,’color’,’k’,’linewidth’,1)
bedmap2(‘coast’)
setm(gca,’plinelocation’,.5,’plabellocation’,0.5 ,…
‘labelrotation’,’on’);
hold on;I have this code creating a map of a small portion of Antarctica. I have the latitude lines appearing ever half of a degree, but the labels still show single degrees. Is it possible to have the labels have decimals?
Also is it possible to have the longitude lines appear with labels on the map instead of on the edge?
The base of the map is Bedmap.
figure(‘Color’,’w’)%Colors the figure white .
set(gca, ‘Color’, ‘none’);
mapzoom(-81.6, -148.8);%’size’,[100 100]);
framem on ; gridm on ; mlabel on ; plabel on ;
bedmap2(‘gl’,’color’,’k’,’linewidth’,1)
bedmap2(‘coast’)
setm(gca,’plinelocation’,.5,’plabellocation’,0.5 ,…
‘labelrotation’,’on’);
hold on; I have this code creating a map of a small portion of Antarctica. I have the latitude lines appearing ever half of a degree, but the labels still show single degrees. Is it possible to have the labels have decimals?
Also is it possible to have the longitude lines appear with labels on the map instead of on the edge?
The base of the map is Bedmap.
figure(‘Color’,’w’)%Colors the figure white .
set(gca, ‘Color’, ‘none’);
mapzoom(-81.6, -148.8);%’size’,[100 100]);
framem on ; gridm on ; mlabel on ; plabel on ;
bedmap2(‘gl’,’color’,’k’,’linewidth’,1)
bedmap2(‘coast’)
setm(gca,’plinelocation’,.5,’plabellocation’,0.5 ,…
‘labelrotation’,’on’);
hold on; bedmap, latitude, longitude, antarctica, setm MATLAB Answers — New Questions