How to set axis scaling?

조회 수: 4 (최근 30일)
John
John 2015년 4월 23일
댓글: Paul Wintz 2021년 9월 10일
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일
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?

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

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by