Filter löschen
Filter löschen

Odd behavior with ginput

2 Ansichten (letzte 30 Tage)
Trevor Harris
Trevor Harris am 23 Jan. 2015
Bearbeitet: Geoff Hayes am 24 Jan. 2015
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

Antworten (0)

Kategorien

Mehr zu Data Exploration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by