Re: [Matplotlib-users] Margin are too wide

2007-10-17 Thread Wayne E. Harlan
First you should look at the axes() command with its arguments to control the boundaries of the plot area inside the figure. I always use this to maximize the use of the figure space. I'm not sure, though, whether this works with the kind of plot you want. Check it out. The other thing that

Re: [Matplotlib-users] pick_event with wxmpl

2007-10-17 Thread Giorgio F. Gilestro
Thank you Ken, I ended up doing more or less as you suggested but it turns out that with the new pick API is actually much easier: wxmpl.EVT_POINT(self, self.GetId(), self.onPoint) self.mpl_connect('pick_event', self.onPick) def onPoint(self,event): ''' Called by the EV

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-17 Thread Jeremy Conlin
On 10/17/07, Charles Seaton <[EMAIL PROTECTED]> wrote: > Jeremy, > > I ran across the answer to this last week while searching the list for > info on datestr2num (both subjects happened to come up in the same > exchange). > > http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a46

[Matplotlib-users] psd amplitude scaling

2007-10-17 Thread Joseph Park
If one creates a 1V RMS sine wave, e.g. with a peak value of 1.414 or peak-peak of 2.83, then computes psd, the resulting amplitude is around 24 dB, yet classic theory dictates the answer ought to be 20 log(1) = 0 dB. This offset seems consistent across various frequencies/sample rates/amplitud

Re: [Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-17 Thread Charles Seaton
Jeremy, I ran across the answer to this last week while searching the list for info on datestr2num (both subjects happened to come up in the same exchange). http://www.nabble.com/First-impression-from-a-new-user-tf1716894.html#a4662446 plot(x, y, linestyle='*steps*') Charles Seaton Jeremy Co

[Matplotlib-users] Equivalent to Gnuplot histeps style

2007-10-17 Thread Jeremy Conlin
I am a recent switcher to matplotlib from gnuplot so please forgive me if I post often. I am currently looking to see if there is a similar matplotlib plotting style like gnuplots "histeps". An example is: http://gnuplot.sourceforge.net/demo_4.2/random.4.png As I searched through the email list

[Matplotlib-users] Margin are too wide

2007-10-17 Thread Romain Bignon
Hello, When I create a graph, margin is too wide. How can I reduce this? There is an example with this mail. Thanks. -- Romain Bignon - http://vaginus.org http://www.inl.fr <>- This SF.net email is sponsored by: Splunk In

Re: [Matplotlib-users] matplotlib without X11 libs?

2007-10-17 Thread Michael Droettboom
If you build from source, you should only need libpng and libfreetype2, in addition to Python and its headers. Agg is included in matplotlib's source distribution -- if you have a version of Agg installed elsewhere it won't be used. (The SVN trunk also requires Numpy). The ports spec is pro

[Matplotlib-users] matplotlib without X11 libs?

2007-10-17 Thread Erik Cederstrand
Hello matplotlib users! I'm following a plotting turorial for the Pylons web framework[1] which uses matplotlib (Agg backend). I tried installing matplotlib from the ports collection on my FreeBSD web server, but it wants to install lots of X11 related stuff. I don't want that, so I'm wondering if