Re: [Matplotlib-users] Anyone else make pylab embeded in MS windows application?

2007-06-19 Thread tocer
Thank your reply. It seems to be helpful for me. John Hunter wrote:: > On 6/19/07, tocer <[EMAIL PROTECTED]> wrote: >> I have a project coding with Delphi+p4d, and I wish embeded pylab in >> it, but I >> don't know how to do it. >> >> Any suggestion is appreciate. > > You should follow the lead

Re: [Matplotlib-users] Cumulative histogram

2007-06-19 Thread brett . mcsweeney
and some more... normHist, lower_edges = numpy.histogram(Hlist, bins=100, normed=True) binWidth = lower_edges[-1]/(len(lower_edges)-1) cumHist = normHist.cumsum()*binWidth pylab.plot(lower_edges+binWidth, cumHist) # use upper edge of bin Brett McSweeney/Broadmeadow/Goninan/AU 20/06/2007 09

Re: [Matplotlib-users] Cumulative histogram

2007-06-19 Thread brett . mcsweeney
some tweaking... binWidth = lower_edges[-1]/(len(lower_edges)-1) [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 20/06/2007 09:14 AM To Tommy Grav <[EMAIL PROTECTED]> cc [EMAIL PROTECTED], matplotlib-users@lists.sourceforge.net Subject Re: [Matplotlib-users] Cumulative histogram I don'

Re: [Matplotlib-users] Cumulative histogram

2007-06-19 Thread brett . mcsweeney
I don't know about easy, but here is a start: normHist, lower_edges = numpy.histogram(Hlist, bins=100, normed=True) binWidth = lower_edges[-1]/len(lower_edges) cumHist = normHist.cumsum()*binWidth pylab.plot(lower_edges+0.5*binWidth, cumHist) Needs some tweaking, no doubt. Tommy Grav <[EMAIL

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread Antoine Sirinelli
On Tue, Jun 19, 2007 at 02:12:28PM +0200, David Tremouilles wrote: > Pyplotsuite is another pygtk project using matplotlib. > It is developed by Antonino Ingargiola. > http://pyplotsuite.sourceforge.net/ > Could be maybe interesting to join the effort on providing nice pygtk > tools for matplotlib

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread Antoine Sirinelli
On Tue, Jun 19, 2007 at 08:46:17AM -0500, John Hunter wrote: > * you may want to use a gtk.Table for your label/entry pairs in your > dialog editor. Everything will line up much more nicely It was on my TODO list. Now it's done. > * you should not explicitly require pygtk 2.0. Noone is using py

[Matplotlib-users] Cumulative histogram

2007-06-19 Thread Tommy Grav
I have an array of absolute magnitudes Hlist and would like to plot a cumulative histogram. Is there an easy way to do this in matplotlib? Cheers Tommy - This SF.net email is sponsored by DB2 Express Download DB2 Express

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread John Hunter
On 6/19/07, David Tremouilles <[EMAIL PROTECTED]> wrote: Where can I find the lineprops.glade file ? It should be in mpl-data but it was removed from svn at some point. I just tried readding it but svn is not letting me commit. I'll attach it here lineprops.glade Description: Binary data --

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread David Tremouilles
Where can I find the lineprops.glade file ? Thanks in advance, David 2007/6/19, John Hunter <[EMAIL PROTECTED]>: > On 6/19/07, Antoine Sirinelli <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have written a small pygtk script to allow dynamic editing of the > > current graphs. It is useful in inte

Re: [Matplotlib-users] get_xlim() - where am I going wrong

2007-06-19 Thread John Hunter
On 6/14/07, Stephen George <[EMAIL PROTECTED]> wrote: > This is absolutely fantastic, does everything I want, 1/2 hr after > getting to work, I had it up and running in my application. > > I do have a question though. > > I had not seen mention of SpanSelector before in documentation. > And I do f

Re: [Matplotlib-users] placing minor ticks below major

2007-06-19 Thread John Hunter
On 6/18/07, Thanos Panousis <[EMAIL PROTECTED]> wrote: > Hello everybody and a bit thanks to the matplotlib team. Its great stuff. > > I would like to place the minor ticks for days, lower than the major ticks > for hours, so that they are visible. Right now they overlap each other. I > would like

Re: [Matplotlib-users] Anyone else make pylab embeded in MS windows application?

2007-06-19 Thread John Hunter
On 6/19/07, tocer <[EMAIL PROTECTED]> wrote: > I have a project coding with Delphi+p4d, and I wish embeded pylab in it, but I > don't know how to do it. > > Any suggestion is appreciate. You should follow the lead of one of the *Agg backends, eg backend_qtagg4.py. The basic approach is to use som

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread John Hunter
On 6/19/07, Antoine Sirinelli <[EMAIL PROTECTED]> wrote: > Hi, > > I have written a small pygtk script to allow dynamic editing of the > current graphs. It is useful in interactive use of matplotlib. It can > handle figures, axes, text, images, lines properties. You can copy lines > from one axes t

Re: [Matplotlib-users] Graphic properties editing

2007-06-19 Thread David Tremouilles
Very nice and useful script Antoine ! I have never heard about such a script before. Pyplotsuite is another pygtk project using matplotlib. It is developed by Antonino Ingargiola. http://pyplotsuite.sourceforge.net/ Could be maybe interesting to join the effort on providing nice pygtk tools for m

[Matplotlib-users] Graphic properties editing

2007-06-19 Thread Antoine Sirinelli
Hi, I have written a small pygtk script to allow dynamic editing of the current graphs. It is useful in interactive use of matplotlib. It can handle figures, axes, text, images, lines properties. You can copy lines from one axes to an other one or delete elements. Finally you can save the data in

[Matplotlib-users] Anyone else make pylab embeded in MS windows application?

2007-06-19 Thread tocer
I have a project coding with Delphi+p4d, and I wish embeded pylab in it, but I don't know how to do it. Any suggestion is appreciate. --tocer - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FRE