Re: [Matplotlib-users] turning off autoscale

2014-04-24 Thread Michael Mossey
On 4/23/2014 2:41 PM, Eric Firing wrote: > On 2014/04/23 11:19 AM, Michael Mossey wrote: >> I'm sorry, these are questions that could be found in the Axes >> documentation, but I really don't feel like scrolling through 100 pages >> that are irrelevant hoping I

[Matplotlib-users] turning off autoscale

2014-04-23 Thread Michael Mossey
I'm sorry, these are questions that could be found in the Axes documentation, but I really don't feel like scrolling through 100 pages that are irrelevant hoping I can find the relevant functions, which I don't even know what they are called. Is there ever going to be a concise listing of funct

[Matplotlib-users] checking if an artist is in the list of artists for an axes

2014-04-21 Thread Michael Mossey
How do I check if an artist is in the list of artists attached to an axes? Mike -- Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source In

Re: [Matplotlib-users] detect mouse clicks

2014-04-21 Thread Michael Mossey
Further update: I think I know how to do this. I can register a mouse event handler, and its xdata and ydata properties will tell me the data coordinates. On Mon, Apr 21, 2014 at 4:17 PM, Michael Mossey wrote: > Note: I'm looking at the Picker examples now and one problem I see is th

Re: [Matplotlib-users] detect mouse clicks

2014-04-21 Thread Michael Mossey
Note: I'm looking at the Picker examples now and one problem I see is that I'm not asking the user to click on data points, but anywhere on the axes. On Mon, Apr 21, 2014 at 3:49 PM, Michael Mossey wrote: > For my application which is a simple sound file editor written with >

[Matplotlib-users] detect mouse clicks

2014-04-21 Thread Michael Mossey
For my application which is a simple sound file editor written with matplotlib and PyQt4, I want to detect left and right clicks on the canvas. I need to know the data coordinates of the click (i.e., not where on the screen the click occurred, but what data point as defined by the axes it represent

Re: [Matplotlib-users] moving line

2014-04-19 Thread Michael Mossey
On 4/19/2014 3:51 PM, Raymond Smith wrote: Hi Mike, Have you tried blitting? That prevents the draw from redrawing everything on the plot, allowing it to only redraw the single line that's moving, which should help any issues with speed. See some of the examples

[Matplotlib-users] moving line

2014-04-18 Thread Michael Mossey
I'm creating a simple little sound file editor, which includes the ability to play a sound file as a vertical line (a "cursor") moves across the plot of the waveform in sync with the sound. So the trick is, how to create this moving line. First I tried FuncAnimation, but I had problems with the syn

[Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Michael Mossey
Sorry for what is a beginnerish question but I'm having a hard time using the docs. I want to remove a previous plot from an axes. How do I do this? Incidentally, it makes the docs hard to use that there are so many methods on Axes which are spread a great distance over the page. It would be nice

[Matplotlib-users] animate marker moving across plot

2014-04-09 Thread Michael Mossey
I want to plot audio data (samples versus time), and then animate a marker moving across the plot while the audio is played back. The marker should stay in sync with the audio data that is being played at that moment. Is there a way to do this using the animation capabilities of matplotlib? If I c

[Matplotlib-users] audio editor

2014-02-05 Thread Michael Mossey
I'm new to Matplotlib and not sure if it's right for my application. I would like to build a simple audio (sound file) editor with the use of Matplotlib. It will plot a waveform, hence the usefulness of matplotlib. I will also need the user to be able to select regions of the waveform by draggi