Borrar filtros
Borrar filtros

How to remove the middle part of a graphic

1 visualización (últimos 30 días)
Antonella
Antonella el 9 de Oct. de 2013
Respondida: Image Analyst el 15 de Oct. de 2013
I have a graphic and i have to remove all points which are (in the axis y) between 25% and 75% of the height. In general points which are in the middle part of this graphic. In other words i have to remove the central part of which is between 25% and 75% of the height (axis y) How can i do this?
Thanks very much in advance!!!

Respuestas (2)

Yatin
Yatin el 15 de Oct. de 2013
Hi, You can try setting the values between 25% to 75% to NaN. This might do the thing.

Image Analyst
Image Analyst el 15 de Oct. de 2013
Try calling xlim and ylim.

Categorías

Más información sobre Graphics Object Programming en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by