resize of axes
조회 수: 1 (최근 30일)
이전 댓글 표시
답변 (2개)
Image Analyst
2012년 3월 11일
Or, if you meant the actual size of the axes, instead of the range of the axes, then you can use set() to set the position (which is both the position and the size):
set(handleToYourAxes, 'Position', [.1 .2 .8 .8]); % Or whatever size you want.
댓글 수: 2
Image Analyst
2012년 3월 11일
Then set the 'Units' property of your axes to 'Normalized' - not 'pixel'. If you do that then when you resize your window (main figure), the axes on it will scale proportionally.
Honglei Chen
2012년 3월 11일
There are many functions
doc xlim
doc ylim
doc axis
댓글 수: 2
Daniel Shub
2012년 3월 11일
If you type doc xlim at the command line, you will get all the help you need to use xlim.
참고 항목
카테고리
Help Center 및 File Exchange에서 Visual Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!