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 Center および File ExchangeVisual Exploration についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by