How Can I click with the mouse on a subplot?

조회 수: 1 (최근 30일)
Fed
Fed 2015년 2월 24일
편집: Fed 2015년 2월 24일
Hello, I need to be able to click on one out of four subplot in a figure, then I want to save the response. I know the function ginput will give me the output of the x and y coordinate of the mouse, but these coordinates refer to the coordinates respect to the all figure not to the subplot. So, even if I check in these coordinates are within the range of each subplot, it will always telling me YES, even though is not true! Thanks in advance! Fed

답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by