How to correctly resize map axis in GUI panel

조회 수: 3 (최근 30일)
Seth Kenner
Seth Kenner 2012년 7월 12일
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
Seth Kenner
Seth Kenner 2012년 7월 18일
I ended up figuring out how to use the MapGraphics and MapModel classes and the MapGraphics.refitAxisLimits function did the trick.
Mike
Mike 2012년 9월 23일
Hi seth,
I had exactly this problem, can you post your trick here.
thanks.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Map Display에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by