Re: [Matplotlib-users] Bar graph performance

2010-05-03 Thread Eric Firing
On 05/02/2010 05:48 PM, Kun Hong wrote: Hi, I am new to matplotlib. So if I ask sth stupid, please bear with me. I am using matplotlib to present large data set in different graph types, bar, dot, line, etc. I find that the bar graph has very bad performance. Say, I draw data points of

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread Matthias Michler
On Sunday 02 May 2010 20:19:29 aditya bhargava wrote: Is there a straightforward way of plotting a vector in matplotlib? Suppose I want to plot the vector [1 2]'. If I pass this vector in to plot(), I get the line that passes through (0,1), (1,2). Instead I want the line that passes through

Re: [Matplotlib-users] show() at the end of each function of an ensemble of scripts

2010-05-03 Thread Antony Lee
I'm using wxagg, but actually it's working now... I put show()s a bit everywhere in my code so I must confess I don't really know how it's working, though I'll probably have to go back and clean the mess at some point. Antony 2010/4/22 Michiel de Hoon mjldeh...@yahoo.com Actually which backend

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread Johan Grönqvist
2010-05-02 20:19, aditya bhargava skrev: Is there a straightforward way of plotting a vector in matplotlib? Suppose I want to plot the vector [1 2]'. If I pass this vector in to plot(), I get the line that passes through (0,1), (1,2). Instead I want the line that passes through (0,0),(1,2).

Re: [Matplotlib-users] question about axis scale multiplier

2010-05-03 Thread Margherita Vittone wiersma
Hello Eric, thank you so much fo your feedback and the fix! it works as expected. bye for now Margherita - Original Message - From: Eric Firing efir...@hawaii.edu Date: Friday, April 30, 2010 6:01 pm Subject: Re: [Matplotlib-users] question about axis scale multiplier Margherita Vittone

[Matplotlib-users] Title color

2010-05-03 Thread Christopher Brown
Hi List, How can I change the (fore)color of a figure title (pp.title('Wow!')) after it has been added to the figure? I can do this with axes labels like this: pp.gca().axes.xaxis.label.set_color(color) -- Christopher Brown, Ph.D. Associate Research Professor Department of Speech and Hearing

Re: [Matplotlib-users] Title color

2010-05-03 Thread Ryan May
On Mon, May 3, 2010 at 1:12 PM, Christopher Brown c...@asu.edu wrote: Hi List, How can I change the (fore)color of a figure title (pp.title('Wow!')) after it has been added to the figure? I can do this with axes labels like this: pp.gca().axes.xaxis.label.set_color(color)

[Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Søren Nielsen
Hi, I've hit a problem when using the button_press_event to pop up a wx.MessageBox. After the messagebox is loaded the mouse becomes completely unresponsive (even outside the application) until the application is shut down (by using ALT+F4). I'm making a feature where the user, after right

Re: [Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Michael Droettboom
I don't know why this happens, but did note that using a button_release_event instead seems to work fine. Mike Søren Nielsen wrote: Hi, I've hit a problem when using the button_press_event to pop up a wx.MessageBox. After the messagebox is loaded the mouse becomes completely unresponsive

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-03 Thread Darren Dale
On Sun, Apr 18, 2010 at 12:55 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale dsdal...@gmail.com wrote: On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever gokhanse...@gmail.com wrote: Hello, Could someone confirm me if there is any malfunctioning

Re: [Matplotlib-users] Problem with figure sizes using Qt4Agg

2010-05-03 Thread John Hunter
On Mon, May 3, 2010 at 4:02 PM, Darren Dale dsdal...@gmail.com wrote: On Sun, Apr 18, 2010 at 12:55 PM, Gökhan Sever gokhanse...@gmail.com wrote: On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale dsdal...@gmail.com wrote: On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever gokhanse...@gmail.com

Re: [Matplotlib-users] Nasty mouse event problem with wxPython

2010-05-03 Thread Matt Newville
Hi Stefan, I've hit a problem when using the button_press_event to pop up a wx.MessageBox. After the messagebox is loaded the mouse becomes completely unresponsive (even outside the application) until the application is shut down (by using ALT+F4). I'm making a feature where the user, after

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread aditya bhargava
Thanks Johan and Matthias, I was just wondering if there was a built-in way to do this in matplotlib. It seems like it would be a useful method to have. Adit 2010/5/3 Johan Grönqvist johan.gronqv...@gmail.com 2010-05-02 20:19, aditya bhargava skrev: Is there a straightforward way of

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread Joe Kington
Isn't that what quiverhttp://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.quiverdoes? Or am I misunderstanding the question? 2010/5/3 aditya bhargava bluemangrou...@gmail.com Thanks Johan and Matthias, I was just wondering if there was a built-in way to do this in

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread aditya bhargava
I don't think that plots a vector. Here's the sort of thing I was looking for: http://www.mathworks.com/matlabcentral/fx_files/23608/1/content/html/drawLAInro_02.png Of course it doesn't need to be a point...it can be a line or a line segment too. Adit On Mon, May 3, 2010 at 9:13 PM, Joe

Re: [Matplotlib-users] Plotting a vector in matplotlib

2010-05-03 Thread Johan Grönqvist
2010-05-04 04:13, Joe Kington skrev: Isn't that what quiver http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.quiver does? Or am I misunderstanding the question? Regardless of the OPs question, the quiver seems to be the solution I should use for my purpose. Thanks. /