modify axes label fonts on usamap.m or geoshow.m
2 次查看(过去 30 天)
显示 更早的评论
I would like to change the font style and use a LaTeX interpreter (from a function or script, not interactively) after plotting a map using usamap.m or geoshow.m. I attempted to find the latitude and longtitude XTickLabel or YTickLabel equivalents in the axes object structure, but each string was empty:
ax = usamap({'OK'});
f = fieldnames(ax);
ii = ~cellfun(@isempty, strfind(f, 'Label'));
f(ii)
Note f(ii) contains no Latitude or Longitude label. Nor do the Parent axes, as far as I can find.
Explicitly, I would like to change the font property of labels like what I have circled below in red. Thank you!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/393328/image.png)
1 个评论
Amato
2021-6-29
I've been wondering the same thing for some time now. Would be awesome to get an answer here.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!