Borrar filtros
Borrar filtros

Odd behavior with ginput

2 visualizaciones (últimos 30 días)
Trevor Harris
Trevor Harris el 23 de En. de 2015
Editada: Geoff Hayes el 24 de En. de 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

Respuestas (0)

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by