필터 지우기
필터 지우기

Odd behavior with ginput

조회 수: 2 (최근 30일)
Trevor Harris
Trevor Harris 2015년 1월 23일
편집: Geoff Hayes 2015년 1월 24일
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개)

카테고리

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