Re: [matplotlib-devel] "Data cursor" for matplotilb.widgets

2012-01-24 Thread Tony Yu
On Tue, Jan 24, 2012 at 10:12 AM, Tony Yu wrote: > > > On Sun, Jan 22, 2012 at 5:58 PM, Joe Kington wrote: > >> I've recently been playing around with a widget intended to be similar to >> matlab's "data cursor". >> >> Would this be useful for inclusion into matplotlib.widgets? >> >> https://gist

Re: [matplotlib-devel] "Data cursor" for matplotilb.widgets

2012-01-24 Thread Tony Yu
On Sun, Jan 22, 2012 at 5:58 PM, Joe Kington wrote: > I've recently been playing around with a widget intended to be similar to > matlab's "data cursor". > > Would this be useful for inclusion into matplotlib.widgets? > > https://gist.github.com/1659108 > > At the moment, it doesn't inherit from t

[matplotlib-devel] "Data cursor" for matplotilb.widgets

2012-01-22 Thread Joe Kington
I've recently been playing around with a widget intended to be similar to matlab's "data cursor". Would this be useful for inclusion into matplotlib.widgets? https://gist.github.com/1659108 At the moment, it doesn't inherit from the base Widget class, but that's easily changed. On the other han

Re: [matplotlib-devel] data cursor

2007-03-09 Thread Antonio Kanaan
Hi everybody, I made some progress with my data plotting program. now I have stumbled in a new problem: I want to be able to move the data cursor by pressing a key, say '.' to move right, ',' to move left. I thought I was smart enough and added a method to the DataCursor class: def moveto(

Re: [matplotlib-devel] data cursor

2007-02-27 Thread Antonio Kanaan
Hi John, thanks *very much* for your message. This is exactly what I want. And it is going to be a lot less work than it was in C / Xlib. Even re-reading that code was a nightmare, adding new features would be nearly impossible :-) I will now start redoing all my code using matplotlib. cheers

Re: [matplotlib-devel] data cursor

2007-02-26 Thread John Hunter
On 2/26/07, Antonio Kanaan <[EMAIL PROTECTED]> wrote: > I thought of drawing my own cursor, deleting it and moving to the next > point . It seems this would take forever as (far as I understand) > matplotlib will redo the entire plot each time I do this. I forgot to mention in my previous post --

Re: [matplotlib-devel] data cursor

2007-02-26 Thread John Hunter
On 2/26/07, Antonio Kanaan <[EMAIL PROTECTED]> wrote: Hi folks, I am planning to re-write a data viewer program I wrote ages ago using C + Xlib. This program allows me to plot on the same window several graphs (time versus brightness - I work on variable stars). They all share the same indepen

[matplotlib-devel] data cursor

2007-02-26 Thread Antonio Kanaan
Hi folks, I am planning to re-write a data viewer program I wrote ages ago using C + Xlib. This program allows me to plot on the same window several graphs (time versus brightness - I work on variable stars). They all share the same independent variable (time passes the same for everybody). I c