From: Stefan Heinen on 22 May 2010 08:06 Hey everyone, I just asked a question, thus anyone know a command, like ginput, for precise clicking on a graph. A solution ussing the data cursor: datacursormode on display('Select wanted point') pause dcm_obj = datacursormode(fig1); cursor_info = getCursorInfo(dcm_obj); cursor_info.Position I liike to pause until I selected the right point. Is there a command that pauses until pressing 'enter' or a key like that. Thx, Stefan
From: Richard-Hsu on 22 May 2010 19:08 On May 22, 5:06 am, "Stefan Heinen" <s.g.h.hei...(a)live.com> wrote: > Hey everyone, > > I just asked a question, thus anyone know a command, like ginput, for precise clicking on a graph. A solution ussing the data cursor: > > datacursormode on > display('Select wanted point') > pause > dcm_obj = datacursormode(fig1); > cursor_info = getCursorInfo(dcm_obj); > cursor_info.Position > > I liike to pause until I selected the right point. > Is there a command that pauses until pressing 'enter' or a key like that. > > Thx, > > Stefan Yes, you can substitute 'pause' by >>keyboard so that the running goes on after you press any key board.
|
Pages: 1 Prev: max. number of variables in fsolve Next: nex and T in the demo of murphy's hmm toolbox |