how do i make the output of axesm fill more of a figure window?
显示 更早的评论
I have a high aspect ratio axesm() setup that plots the world from -60 to 60 degrees in latitude. The figure it loads into is also high aspect ratio, but the axesm() output generated is much smaller than the figure. When I zoom (which we'll be doing all the time), the displayed data is clipped to the smaller original axesm window. This wastes a whole lot of screen real estate. I don't see any Position() controls for axesm(). Help?
1 个评论
dpb
2015-1-2
Don't have the mapping toolbox so can't 'spearmint here, but reading the doc for axesm indicates it's just a higher-level object wrapping a standard axes. Ergo, use get, set on the actual axes and figure properties to adjust those that aren't specific to the mapping properties themselves. Probably will take some trial and error to figure out what want where, but the position properties are associated with those underlying objects.
采纳的回答
更多回答(2 个)
Chad Greene
2015-1-4
1 个投票
Not sure if this is what you're looking for, but the axis tight command works with maps.
类别
在 帮助中心 和 File Exchange 中查找有关 Vector and Raster Map Display 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!