Setting plot zoom mode?
조회 수: 10 (최근 30일)
이전 댓글 표시
If you right click on a plot and go to zoom mode, it is defaulted to unconstrained zoom, with horizontal and vertical as choices. Is there any way to change this default?
댓글 수: 0
채택된 답변
Wayne King
2011년 10월 15일
You can set the behavior through the zoom command. See the help. For example, to zoom just in the horizontal direction.
plot(randn(100,1));
h = zoom;
set(h,'Motion','horizontal','Enable','on');
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!