Rectangle appears outside axes when zooming

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

Respuestas (1)

Stephen23
Stephen23 el 28 de Abr. de 2016
Editada: Stephen23 el 28 de Abr. de 2016

0 votos

You might need to set the Clipping for both the rectangle property and axes property.

Categorías

Más información sobre Data Exploration en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 28 de Abr. de 2016

Editada:

el 28 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by