Hi,
I've coded (with help from John) a plot of mine to allow a user to
select a data point, and when they click on it a new plot pops up. It
works great. However, some of the points are very close together and if
I'm not extremely careful in selecting the point, then multiple graphs
pop up
Hi Trevis,
snip
On 12/06/07, Trevis Crane [EMAIL PROTECTED] wrote:
So, I figured maybe if I zoomed in then it'd be easier to select the desired
point. The problem is that after zooming/panning, the mouse cursor changes
and my click events are no longer recognized as such. Furthermore, I
Hi Trevis,
snip
On 12/06/07, Trevis Crane [EMAIL PROTECTED] wrote:
So, I figured maybe if I zoomed in then it'd be easier to select the
desired
point. The problem is that after zooming/panning, the mouse cursor
changes
and my click events are no longer recognized as such.
On 6/11/07, Trevis Crane [EMAIL PROTECTED] wrote:
I've coded (with help from John) a plot of mine to allow a user to select a
data point, and when they click on it a new plot pops up. It works great.
However, some of the points are very close together and if I'm not extremely
careful in
John Hunter wrote:
BTW, numpy gurus, is there a better way to find the index in an array
that is minimal than
indmin = int(numpy.nonzero(distances.min()==distances)[0])
yes -- see below. Also a few tweaks:
distances = numpy.array(numpy.sqrt((x-xs[event.ind])**2. +