Rectangle appears outside axes when zooming

2 visualizzazioni (ultimi 30 giorni)
Jette
Jette il 28 Apr 2016
Modificato: Stephen23 il 28 Apr 2016
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

Risposte (1)

Stephen23
Stephen23 il 28 Apr 2016
Modificato: Stephen23 il 28 Apr 2016
You might need to set the Clipping for both the rectangle property and axes property.

Categorie

Scopri di più su Data Exploration in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by