Odd behavior with ginput
조회 수: 2 (최근 30일)
이전 댓글 표시
hey all,
I'm getting some weird behavior with ginput when using a figure that exist on a uipanel. I've ran the following code:
figure;
h = uipanel;
set(h,'position',[.25 .25 .5 .5]);
h1 = axes;
set(h1,'parent',h);
set(h,'position',[.1 .1 .8 .8]);
plot(rand(1,1000));
ginput
That all works fine, but when I try and hover over my plot, I get the usual plus sign, but behind it are these crosshairs that are hidden bu the uipanel, but show up on the background figure. See the attacehd figure. Any idea what this is about? I'm currently using Matlab 2014b.
Thanks! Trevor
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Visual Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!