[Matplotlib-users] multidimensional downhill minimization

2006-10-12 Thread zhangh1
Hi, everyone: is there any function in any libraray to do a multidimensional downhill minimization for a given function? Thanks - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickl

Re: [Matplotlib-users] subplot(1,1,[...]) and pprint_getters

2006-10-12 Thread Stefan van der Walt
On Thu, Oct 12, 2006 at 07:00:05PM -0500, John Hunter wrote: > > "Stefan" == Stefan van der Walt <[EMAIL PROTECTED]> writes: > Stefan> if hasattr(val, 'size') and val.size > 6: > > This looks like a numpy vs numeric thing here so we want to make sure > the solution works across

Re: [Matplotlib-users] subplot(1,1,[...]) and pprint_getters

2006-10-12 Thread John Hunter
> "Stefan" == Stefan van der Walt <[EMAIL PROTECTED]> writes: Stefan> One way to fix this would be to change line 379 in Stefan> artist.py from Stefan> if hasattr(val, 'shape') and len(val)>6: Stefan> to Stefan> if hasattr(val, 'size') and val.size

[Matplotlib-users] subplot(1,1,[...]) and pprint_getters

2006-10-12 Thread Stefan van der Walt
Hi all First, a small bug: In [4]: s = subplot(121) In [5]: getp(s.get_frame()) --- exceptions.TypeError Traceback (most recent call last) /home/stefan/work/scipy/debug/ /home/stefan/lib/p

Re: [Matplotlib-users] Installation Problems on Mac OS X

2006-10-12 Thread R. Padraic Springuel
I was able to install from the .egg file. I'm still getting the same error when attempting to import though. Namely: >>>from pylab import * Traceback (most recent call last): File "", line 1, in File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/matplot

[Matplotlib-users] Splitting legends / having multiple legends

2006-10-12 Thread Christian David Ott
Hi, due to limited white space in my figures, I would like to beable to split up a single big legend into multiple (usually 2) smaller ones. ### Example (adapted from simple_plot.py): from pylab import * t = arange(0.0, 2.0, 0.01) s = sin(2*pi*t) plot(t, s, linewi

[Matplotlib-users] Got to set WXAgg on Mac to get pylab to work?

2006-10-12 Thread Louis Pecora
In order get pylab to work on my Mac I have to do the following (found by some experimenting): import matplotlib matplotlib.use("WXAgg") import pylab Does this seem right? I mean, it works, but it seems to be a little gymnastics to go through rather than just doing import pylab which gives

Re: [Matplotlib-users] svn revision 2814 does not compile

2006-10-12 Thread John Hunter
> "Xavier" == Xavier Gnata <[EMAIL PROTECTED]> writes: Xavier> Hi, Matplotlib svn tree does not compile anymore since a Xavier> few days : Have you upgraded your compiler recently? It compiles fine for me with an older version > gcc --version gcc (GCC) 3.3.5 (Debian 1:3.3.5-8ubuntu2

[Matplotlib-users] svn revision 2814 does not compile

2006-10-12 Thread Xavier Gnata
Hi, Matplotlib svn tree does not compile anymore since a few days : gcc: CXX/cxx_extensions.cxx cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ ./CXX/Objects.hxx:1938: error: parse error in template argument list ./CXX/Extensions.hxx: In constr

Re: [Matplotlib-users] windrose 0.3

2006-10-12 Thread Alan Isaac
On Thu, 12 Oct 2006, Lionel Roubeyrie wrote: > here the third version of windrose.py This is great. I think moving the labels farther out would be nicer (e.g., http://www.pscleanair.org/airq/windrose/default.aspx ) Cheers, Alan Isaac -

[Matplotlib-users] Help with filled stacked area plots with legends?

2006-10-12 Thread John Ruttenberg
I've been working to get stacked area plots working. The basic plotting was pretty easy, but getting good readable legends for the colors has been a nightmare. Perhaps if I share what I've done, someone will have some suggestions. My code is attached. The only way I've come up with to get a rea