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?

답변 (1개)

Brendan Hamm
Brendan Hamm 2015년 4월 23일

2 개 추천

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.

댓글 수: 1

Paul Wintz
Paul Wintz 2021년 9월 10일
How is XLimSpec different that using XLimitMethod?

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

카테고리

도움말 센터File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

질문:

2015년 4월 23일

댓글:

2021년 9월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by