Re: [Matplotlib-users] basemap memory leak?

2006-08-31 Thread Jeff Whitaker
Gerald John M. Manipon wrote: > Hi all, > > I'm trying to generate a plot that contains 3 subplots: > 2 line plots and a basemap plot showing location. I'm > generating about 200 such plots however my script > doesn't get to complete because it encounters a MemoryError. > > I found the test script

Re: [Matplotlib-users] basemap memory leak?

2006-08-31 Thread Jeff Whitaker
Gerald John M. Manipon wrote: > Hi all, > > I'm trying to generate a plot that contains 3 subplots: > 2 line plots and a basemap plot showing location. I'm > generating about 200 such plots however my script > doesn't get to complete because it encounters a MemoryError. > > I found the test script

Re: [Matplotlib-users] Contours + alpha channel?

2006-08-31 Thread Eric Firing
Scott, This is fixed now in svn. (I will probably go back shortly and make another change to improve efficiency.) There was a one-line bug in contour.py, but the fundamental problem was that colors.ColorConverter (which handles color inputs for collections, among other things) was stripping

[Matplotlib-users] basemap memory leak?

2006-08-31 Thread Gerald John M. Manipon
Hi all, I'm trying to generate a plot that contains 3 subplots: 2 line plots and a basemap plot showing location. I'm generating about 200 such plots however my script doesn't get to complete because it encounters a MemoryError. I found the test script at http://matplotlib.sourceforge.net/faq.h

Re: [Matplotlib-users] Creating Dendrograms

2006-08-31 Thread Michael Sorich
I don't think that Matplotlib has such a plot, but I would also be interested in using such a plot - for presenting hierarchical clustering results. Michael On 8/31/06, R. Padraic Springuel <[EMAIL PROTECTED]> wrote: > Can Matplotlib create dendrograms? As best I can tell, there isn't a > plotti

Re: [Matplotlib-users] tick label hiding problem

2006-08-31 Thread Michael Fitzgerald
On Aug 31, 2006, at 2:56 PM, John Hunter wrote: >> "Michael" == Michael Fitzgerald <[EMAIL PROTECTED]> writes: > > Michael> Is there a way to force some sort of pseudo-draw event, > Michael> such that the sizing is done and the ticks are created > Michael> from the protoTick, but

Re: [Matplotlib-users] Basemap - quiver scaling

2006-08-31 Thread Eric Firing
Jim, The problem is that the new quiver--the one for which Jeff quoted a docstring extract--appeared after 0.87.3. I hope you can update to 0.87.4 or to svn. I gather there will be another release within a week or two, also, to support the latest numpy. Eric James Boyle wrote: > when I call

Re: [Matplotlib-users] tick label hiding problem

2006-08-31 Thread John Hunter
> "Michael" == Michael Fitzgerald <[EMAIL PROTECTED]> writes: Michael> Is there a way to force some sort of pseudo-draw event, Michael> such that the sizing is done and the ticks are created Michael> from the protoTick, but the draw isn't actually performed Michael> by the back

Re: [Matplotlib-users] Basemap - quiver scaling

2006-08-31 Thread Jeff Whitaker
James Boyle wrote: > when I call quiver in the Basemap toolkit, the scale keyword has the > effect of eliminating all vectors, no matter what value I assign > (except None). > I am using matplotlib 0.87.3 - Basemap 0.9 > In any case the exact effect of the scale parameter is obscure - how >

Re: [Matplotlib-users] tick label hiding problem

2006-08-31 Thread Michael Fitzgerald
On Aug 31, 2006, at 4:36 AM, John Hunter wrote: > So: how do you solve your problem, of making the first tick invisible? > What I do when I need to solve this problem, which comes up a lot with > multiple axes where ticks can overlap, is the following > > from matplotlib.ticker import ScalarFormat

[Matplotlib-users] Basemap - quiver scaling

2006-08-31 Thread James Boyle
when I call quiver in the Basemap toolkit, the scale keyword has the effect of eliminating all vectors, no matter what value I assign (except None). I am using matplotlib 0.87.3 - Basemap 0.9 In any case the exact effect of the scale parameter is obscure - how does is scale? units/inch, unit

Re: [Matplotlib-users] Contours + alpha channel?

2006-08-31 Thread Scott Ransom
Hi Eric, This shows what I'm talking about: from pylab import * delta = 0.025 x = arange(-3.0, 3.0, delta) y = arange(-2.0, 2.0, delta) X, Y = meshgrid(x, y) Z1 = bivariate_normal(X, Y, 1.0, 1.0, 0.0, 0.0) Z2 = bivariate_normal(X, Y, 1.5, 0.5, 1, 1) # difference of Gaussians

Re: [Matplotlib-users] changing sharex after ?

2006-08-31 Thread Eric Firing
Samuel, Trying to manipulate variables with leading underscores is discouraged--that is the meaning of the leading underscores. Changing the shared status of axes involves changes in additional variables. This could be encapsulated in a single method. It might be very easy, or complexities a

Re: [Matplotlib-users] Contours + alpha channel?

2006-08-31 Thread Eric Firing
Scott, Please send a minimal example that I can use as a test case. This sounds vaguely familiar. Thanks. Eric Scott Ransom wrote: > Hi All, > > I'm using matplotlib (with agg backends) from recent svn: > > In [63]: matplotlib.__version__ > Out[63]: '0.87.4' > > and I can't seem to get con

[Matplotlib-users] Contours + alpha channel?

2006-08-31 Thread Scott Ransom
Hi All, I'm using matplotlib (with agg backends) from recent svn: In [63]: matplotlib.__version__ Out[63]: '0.87.4' and I can't seem to get contour() or contourf() to utilize the alpha keyword. No matter what value I set, alpha=1.0 on the output. Alpha in general works fine, as the scatter_dem

[Matplotlib-users] Fw: (by [EMAIL PROTECTED])Re: Re: python coredum p when using GtkAgg mode

2006-08-31 Thread assiss
From: "Charlie Moad" <[EMAIL PROTECTED]>To: "assiss" <[EMAIL PROTECTED]>Date: Fri, 18 Aug 2006 20:20:59 +0800 (CST)Subject: Re: [Matplotlib-users] python coredump when using GtkAgg modeThanks. 9 import matplotlib._image #worked 10 import matplotlib._transforms #worked 1112 #o

Re: [Matplotlib-users] Creating Dendrograms

2006-08-31 Thread Gary Ruben
Perhaps NetworkX will do what you want, depending on how much control you need over the node placement. There are a few more suggestions for general graph plotting solutions here: . hth Gary R. R. Padraic Springuel wrote: > Can

Re: [Matplotlib-users] tick label hiding problem

2006-08-31 Thread John Hunter
> "Michael" == Michael Fitzgerald <[EMAIL PROTECTED]> writes: Michael> Hi all, Michael> I'm still having trouble figuring out what's going on Michael> with tick labels. I can't figure out why Michael> Axes.get_{x,y}ticklabels() is returning a list of length Michael> unity