Hello,
I am trying to adjust the axis properties of a map I created using the mapping tool box. I was able to figure how to segment my image based on a lat/long interval. However, I am not sure how to adjust the significant figures displayed. Secondly, I want to rotate the displayed horizontal axis values. I realized regular matlab xticklabelrotation does not work in this case. I have not found a way to do so looking at the properties of getm(gca). Thank you for your time.
I have copied and pasted a snippet of my code and the image that was produced.
map_intv=abs(min([(Lat_high-Lat_low)/4 (Long_high-Long_low)/4]));figureax = usamap(latlim, lonlim)getm(gca,'MapProjection')geoshow(ax,Nodalarray(:,28), Nodalarray(:,29), 'DisplayType', 'Point', 'Marker', '.', 'Color', 'red');xtickangle(45)setm(gca,'MeridianLabel','on','ParallelLabel','on','MLineLocation',map_intv,'PLineLocation',map_intv,'MLabelLocation',map_intv,'PLabelLocation',map_intv)
The result I am looking for is something similar to the following ( I edited the image via MSpaint ). The label rotation may be 90 or other specified angle such as 45. What would be more important is the specification of the significant figures so the labels are now meaningful.
Best Answer