Rectangle appears outside axes when zooming

조회 수: 3 (최근 30일)
Jette
Jette 2016년 4월 28일
편집: Stephen23 2016년 4월 28일
I have a plot with severeal elements (lines, reactangles). When I zoom in, only line-points within the new axis limits are shown. However, all rectangles are shown - independent of if they are inside or outside the new axis limits. I'd like to avoid that and only show things which are inside the new axis limits. Any ideas?
I use MATLAB R2010b

답변 (1개)

Stephen23
Stephen23 2016년 4월 28일
편집: Stephen23 2016년 4월 28일
You might need to set the Clipping for both the rectangle property and axes property.

카테고리

Help CenterFile Exchange에서 Data Exploration에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by