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 > > 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.

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 Kingt

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

2010-05-03 Thread Joe Kington
Isn't that what quiverdoes? Or am I misunderstanding the question? 2010/5/3 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

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 > 2010-05-02 20:19, aditya bhargava skrev: > > Is there a straightforward way of plotting a vector in matplotli

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, aft

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 wrote: > On Sun, Apr 18, 2010 at 12:55 PM, Gökhan Sever wrote: >> >> >> On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale wrote: >>> >>> On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever >>> wrote: >>> > Hello, >>> > >>> > Could someone confirm me if there is

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 wrote: > > > On Sun, Apr 18, 2010 at 11:47 AM, Darren Dale wrote: >> >> On Tue, Apr 13, 2010 at 8:14 PM, Gökhan Sever >> wrote: >> > Hello, >> > >> > Could someone confirm me if there is any malfunctioning using these >> > simple >> > figure functio

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 unresp

[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 clickin

Re: [Matplotlib-users] Title color

2010-05-03 Thread Ryan May
On Mon, May 3, 2010 at 1:12 PM, Christopher Brown 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) pp.gca().axes.title.set

[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] 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 Date: Friday, April 30, 2010 6:01 pm Subject: Re: [Matplotlib-users] question about axis scale multiplier > Margherita Vittone wiersma wrote: >

[Matplotlib-users] Why when I Use ZooM, On-Pick Event don't correspond to my plots datas

2010-05-03 Thread Levagabond
Hello, I send this message because I have a problem with "On-Pick" Funtion. When I use this function with my datas, cartesian coordinates don't correspond. Seems to work with the example, but not with my data, somebody knows why ? Thanks you for your reply !!! My code : """ compute the mea

[Matplotlib-users] Bar graph performance

2010-05-03 Thread Kun Hong
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 about ten thousand. Using dot graph, it draws in

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] 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 > Actually which backend are you using? I'd

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