I am having an issue resizing a map axes in a GUI panel. When I create the map axes and use geoshow to project a shapefile onto the axes, the axes frame position in the GUI panel changes but the position value of the axes handle does not change. When I try to change the postion of the map axis using set or setm to fit the panel again, the frame position does not reflect the values that I set. I would like to know if there is an easy way to control the position of a map axis within a GUI or any other figure.
3 Comments
Direct link to this comment:
http://www.mathworks.es/matlabcentral/answers/43483#comment_89444
I wonder if it is one of those "inner position" vs "outer position" issues?
Direct link to this comment:
http://www.mathworks.es/matlabcentral/answers/43483#comment_90387
I ended up figuring out how to use the MapGraphics and MapModel classes and the MapGraphics.refitAxisLimits function did the trick.
Direct link to this comment:
http://www.mathworks.es/matlabcentral/answers/43483#comment_100896
Hi seth,
I had exactly this problem, can you post your trick here.
thanks.