필터 지우기
필터 지우기

Show selecting rectangle in figure

조회 수: 6 (최근 30일)
Adrien
Adrien 2022년 9월 5일
답변: Image Analyst 2022년 9월 5일
Hello,
I have a figure, in that figure I want to manually select some data and then filter out the rest.
For that I'd like to use ginput to select my corners, but I'd like to see the rectangle (like it shows when you use the zoom in tool to select the area).
Is it possible do something like that ? If so how
Thx in advance for any input,
  댓글 수: 2
Sebastiano Marinelli
Sebastiano Marinelli 2022년 9월 5일
I'm not sure if i get the question, but you can try with "drawrectangle";
Adrien
Adrien 2022년 9월 5일
thx, that helps, i'll draw the rectangle then get the rectangle limits it return inside the rectangle object

댓글을 달려면 로그인하십시오.

채택된 답변

Image Analyst
Image Analyst 2022년 9월 5일
See my attached drawrectangle demo. Other similar demos for drawing other things are also attached in case you need them.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by