How to set axis scaling?
조회 수: 4 (최근 30일)
이전 댓글 표시
What is the figure property name for setting the axis scaling? I would like to set 'axis tight' as the default, but I can not seem to find the appropriate property handle for this?
댓글 수: 0
답변 (1개)
Brendan Hamm
2015년 4월 23일
In versions 2014b or later you can use the properties:
XLimSpec, YLimSpec and ZLimSpec
by setting these properties to 'tight'.
Prior to 2014b you would need to use the XLim, YLim and XLim properties, but these need to be assigned the min and max values.
참고 항목
카테고리
Help Center 및 File Exchange에서 Graphics Object Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!