Re: [Matplotlib-users] scatter size argument

2007-04-06 Thread John Hunter
On 4/6/07, Eric Firing <[EMAIL PROTECTED]> wrote: > The size argument, s, is given in squared points; that is, it is a > measure of area, not of linear dimensions. > > This strikes me as counterintuitive and not particularly useful. It > seems more natural that the size be a linear dimension; if

[Matplotlib-users] scatter size argument

2007-04-06 Thread Eric Firing
In the course of responding to a request regarding the color handling in Axes.scatter and pylab.scatter, I decided to raise a more general question for input from users: The scatter method has the following signature: def scatter(self, x, y, s=20, c='b', marker='o', cmap=None, norm=None,

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-06 Thread Christopher Barker
Ken McIvor wrote: > I recommend you play around with > the FloatCanvas demo, then look at the documentation and source code > to get an idea of how fast you can get up and running with it. Thanks for the endorsement, Ken. I will say that while I think FloatCanvas is a good tool for the job,

Re: [Matplotlib-users] Plotting two histograms

2007-04-06 Thread Tommy Grav
On Apr 6, 2007, at 1:04 PM, Jeff Whitaker wrote: > Tommy Grav wrote: >> I have two lists that I would like to plot as two separate >> histograms inside the same >> plot. However >> >> pylab.hist(h1list,26,facecolor='r') >> pylab.hist(h2list,26,alpha=0.3) >> pylab.show() >> >> seems to plot the

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-06 Thread Ken McIvor
On Apr 5, 2007, at 8:41 PM, belinda thom wrote: > > So, how do the above observations relate to John Hunter's > recommendation that I use a timer or idler? It was the reply from > him that led me to think I might be able to come up w/something > that worked w/o too much dorking. My understan

Re: [Matplotlib-users] Plotting two histograms

2007-04-06 Thread Jeff Whitaker
Tommy Grav wrote: > I have two lists that I would like to plot as two separate histograms > inside the same > plot. However > > pylab.hist(h1list,26,facecolor='r') > pylab.hist(h2list,26,alpha=0.3) > pylab.show() > > seems to plot the two histograms with different x-y limits on the > axis. Also

[Matplotlib-users] Plotting two histograms

2007-04-06 Thread Tommy Grav
I have two lists that I would like to plot as two separate histograms inside the same plot. However pylab.hist(h1list,26,facecolor='r') pylab.hist(h2list,26,alpha=0.3) pylab.show() seems to plot the two histograms with different x-y limits on the axis. Also how can I force the bins to have th

Re: [Matplotlib-users] Dendrogram

2007-04-06 Thread Jouni K . Seppänen
Timothy <[EMAIL PROTECTED]> writes: > Hope this isn't a sore subject, but are there ways with Matplotlib to > generate dendrograms? I have no idea why it should be a sore subject, but there seems to be nothing built in for drawing dendrograms. I'm sure contributions will be welcomed. :-) I gues

Re: [Matplotlib-users] Histogram align 'edge' or 'center' bug?

2007-04-06 Thread Jouni K . Seppänen
David Fokkema <[EMAIL PROTECTED]> writes: > If I choose center, the result is that my histogram is calculated > for edge values but the bars are placed at center values which is > completely misleading and wrong! I'd say this is a bug, but I may be > overlooking something here... Looks like a bug

Re: [Matplotlib-users] savefig problems

2007-04-06 Thread Jouni K . Seppänen
Dominik Szczerba <[EMAIL PROTECTED]> writes: > I want bright information (fonts,lines) on dark background (figure > bg, axes bg) and I can fully achieve this goal while DISPLAYING > plots. However, SAVING damages their colors The following works for me (svn revision 3159): figure(facecolor='k'

Re: [Matplotlib-users] problems building/installing

2007-04-06 Thread Tim Hirzel
oops, my bad. thanks for the correction. t Robert Kern wrote: > Tim Hirzel wrote: > >> Its a little tough right now that os x doesn't have one python >> install to rule them all. >> > > Yes it does. > > http://www.python.org/download/ > > --

Re: [Matplotlib-users] passing mouse clicks back to a polling application

2007-04-06 Thread massimo sandal
Christopher Barker ha scritto: Matplotlib is a plotting library -- it's not a gui development lib. I'd think about using a tool designed for the job. I don't know what you want the graphics of your game to look like, but depending on that, some suggestions: PyGame -- good for fancy raster gra