OK, I see (kind of, i.e., via the pylab interface) how to do it -
indirectly, i.e., by catching the click-on-figure event, then figuring
out where that event happened and comparing that to the locations of the
figure's pieces - using matplotlib only, so here's hoping that wxmpl has
made it A) more direct (i.e., provided some way to access a figure's
pieces seemingly directly, i.e., without having to figure out where in
the figure those pieces are as an explicit intermediate step), and
thereby B) easier.
OK, I see (kind of, i.e., via the pylab interface) how to do it -
indirectly, i.e., by catching the click-on-figure event, then figuring
out where that event happened and comparing that to the locations of the
figure's pieces -
Does MPL have some kind of hit-testing built-in? this seems a bit harder than it should be.
using matplotlib only, so here's hoping that wxmpl has
made it A) more direct (i.e., provided some way to access a figure's
pieces seemingly directly, i.e., without having to figure out where in
the figure those pieces are as an explicit intermediate step), and
thereby B) easier.
As far as I can tell, it provides a user-editable plot. However, I can't tell with a quick perusal if you can click on an axis and get feedback for that.
It would be nice if wxMPL and MPlot shored a code base, but alas -- they were started independently.
-Chris
ยทยทยท
David.L.Goldsmith@...259... wrote:
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception