Remove lines outside plotted circle

1 visualización (últimos 30 días)
Xen
Xen el 20 de Mzo. de 2017
Hi people.
I am plotting a circle using the rectangle function and then I am plotting several lines in the same plot using the line function; the lines are within the circle but also extend out of it (of course). How can I keep only the part of the lines within the circle? Or maybe plot the lines initially with a method that somehow confines them within the circle.
I am sure this is easily done as an image analysis problem, but I was wondering if it can be done with plots.
Thanks.

Respuestas (0)

Categorías

Más información sobre Visual Exploration 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