Remove lines outside plotted circle

조회 수: 2 (최근 30일)
Xen
Xen 2017년 3월 20일
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.

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by