[Matplotlib-users] NavigationToolbar2Wx with mplot3d

2011-09-20 Thread Keith Jones
Hi, I have two questions about using NavigationToolbar2Wx with mplot3d. 1/ Initially the 3D scatter plot will rotate as usual with a mouse, but after selecting the 'pan' or 'zoom' buttons the plot responds with some confusion. How can I restore it to rotation only, i.e. disconnect the zoom or

Re: [Matplotlib-users] Date plots with missing data

2011-09-20 Thread Benjamin Root
On Sat, Sep 17, 2011 at 8:00 PM, wrote: > Hello. > > I have some data with corresponding date value (Y-M-D) and having > hard time to understand how MPL works with dates. > I see it uses Python datetime, but I just can't figure how to make > plots when some date data is missing. > > Considering a

[Matplotlib-users] fill_between() path and country border paths

2011-09-20 Thread Isidora
I am plotting an open fill path over a U.S. map for which I'd like to extend the filling all the way to the closest border of U.S. I thought I could use fill_between() my path and the path in the borders path list returned by drawcountries() that is closest to mine. So, I've been looking for e

Re: [Matplotlib-users] Controlling spacing between subplots

2011-09-20 Thread Brad Malone
Hi Ben, Thanks. Using label_outer() does, as you say, only show labels on the edge and that is something I wanted to do. It doesn't, however, make a common y-axis label and a common x-axis label (instead there are now 2 of each, instead of 4). It appears that I might be able to add a common y and

Re: [Matplotlib-users] Controlling spacing between subplots

2011-09-20 Thread Benjamin Root
On Tue, Sep 20, 2011 at 11:06 AM, Brad Malone wrote: > Hi Jeffrey, > > Thanks the response. Sorry about the term "global axis". That was clearly > not the best way to say it. What I meant to say is global x axis LABEL and > y-axis LABEL. This can be seen in this example ( > http://www.scipy.org/C

Re: [Matplotlib-users] Controlling spacing between subplots

2011-09-20 Thread Brad Malone
Hi Jeffrey, Thanks the response. Sorry about the term "global axis". That was clearly not the best way to say it. What I meant to say is global x axis LABEL and y-axis LABEL. This can be seen in this example ( http://www.scipy.org/Cookbook/Matplotlib/Multiple_Subplots_with_One_Axis_Label?action=At

Re: [Matplotlib-users] How to use specgram() window function?

2011-09-20 Thread Klonuo Umom
Thank you very much Fabrice I have no further questions Cheers On Tue, Sep 20, 2011 at 1:43 PM, Fabrice Silva wrote: > Le mardi 20 septembre 2011 à 12:59 +0200, Klonuo Umom a écrit : > > > If you don't mind, I have another question. > > Those files are audio files. Can I limit dB range so that,

Re: [Matplotlib-users] XRC or Pythoncard

2011-09-20 Thread Daniel Hyams
I'm partial to wxFormBuilder myself, and the latest builds even have AUI support. There is no direct integration with matplotlib, though. To place a plot, all I do is create a wx.Panel in wxFormBuilder, and use that as a container for the plot (you would have a PlotPanel, which you derive from wx.

[Matplotlib-users] XRC or Pythoncard

2011-09-20 Thread Martijn
Hi, I am about to start wring a small application that includes a graphical user interface written using wxPython and several matplotlib graphs. Since I want to separate application logic and GUI code as much as possible, I would like to use either XRC or Pythoncard. Pythoncard seems to be the most

Re: [Matplotlib-users] How to use specgram() window function?

2011-09-20 Thread Fabrice Silva
Le mardi 20 septembre 2011 à 12:59 +0200, Klonuo Umom a écrit : > If you don't mind, I have another question. > Those files are audio files. Can I limit dB range so that, let's say, > noise below 120dB isn't drawn? Is there some parameter so I can set > this range? specgram internally computed th

Re: [Matplotlib-users] How to use specgram() window function?

2011-09-20 Thread Klonuo Umom
Yes, it could be handy. I only needed it temporarily on couple of data files. If you don't mind, I have another question. Those files are audio files. Can I limit dB range so that, let's say, noise below 120dB isn't drawn? Is there some parameter so I can set this range? Thanks On Tue, Sep 20,

Re: [Matplotlib-users] How to use specgram() window function?

2011-09-20 Thread Fabrice Silva
Le mardi 20 septembre 2011 à 12:12 +0200, Klonuo Umom a écrit : > Ah, I was using wrong parameter... Thanks. That works fine You could also use a callable (instead of the vector) so that specgram internally automatically get a NFFT length window wrapper = lambda n: kaiser(n,8) Pxx, freqs, bins, i

Re: [Matplotlib-users] How to use specgram() window function?

2011-09-20 Thread Klonuo Umom
Ah, I was using wrong parameter... Thanks. That works fine On Tue, Sep 20, 2011 at 8:27 AM, Fabrice Silva wrote: > Le lundi 19 septembre 2011 à 19:54 +0200, Klonuo Umom a écrit : > > I want to use kaiser window that's part of numpy for drawing spectrogram > > > > specgram(x, NFFT=256, Fs=2, Fc=0,

Re: [Matplotlib-users] Controlling spacing between subplots

2011-09-20 Thread Jeffrey Spencer
Not sure what you mean global axis but I think I was trying to do something similar with this. This is the chunk of one subplot. Specifically look at last three lines: ax = fig.add_subplot(2,2,2) ax.set_title('b) 5') ax.set_ylim((0,yUpper)) for i in tempRun: ax.plot(x,actSum[1,semi,i,semi],