Hello,
I would like to build a bit of an interactive fitter with matplotlib and
ipython (in pylab environment). I would like to have a a function, which takes
x and y as input, then plots these and fits a line to it (just numpy polyfit).
if I click a point it will be removed from the fit pool and the line will be
refitted (optionally after pressing 'f'). when I'm done I can press 'q' or
close the window and the function will come to an end and spit out the fitting
parameter.
I tried this a year or two ago and I had terrible problems with getting
stopping the event loop and waiting for the interactive part to finish and then
finish the function. I'm running os 10.6 and use the wx backend (or mac os x,
if that's easier). Can you point me to an example or give me a crude overview
of how to do that in the right way. Is that understandable?
Cheers
Wolfgang
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users