Re: [Matplotlib-users] ellipk

2010-10-08 Thread Pau
Hi, didn't work... ImportError: No module named scipy.special this is fedora13... thanks! Pau 2010/10/8, Sebastian Busch : > hey pau, > > ellipk is in scipy.special: > > #!/usr/bin/env python > from pylab import * > from scipy.special import ellipk > > e=1. > a_mpc = 4.0 > p = a_mpc * (1 - e*

Re: [Matplotlib-users] Xtick label size in ImageGrid

2010-10-08 Thread Jae-Joon Lee
Eric, ax = subplot(111) ax.tick_params(labelsize='x-small') print ax.xaxis.majorTicks[0]._size it sets Tick._size instead of Tick._labelsize, which seems to be a bug. I think the below patch fixes this. Can you check (and commit if correct)? Regards, -JJ diff --git a/lib/matplotlib/axis.py b

Re: [Matplotlib-users] Xtick label size in ImageGrid

2010-10-08 Thread Jae-Joon Lee
The label_mode need to be capital "L", instead of "l". I guess this will fix your first problem. While we make "l" same as "L", but I think it actually degrade the readability of the code, and I;m inclined to leave it as is. Let me know if you have any suggestions though. On Sat, Oct 9, 2010 at 5:

[Matplotlib-users] Xtick label size in ImageGrid

2010-10-08 Thread Justin McCann
I just refactored some custom code to make use of axes_grid1.ImageGrid, and I think I've come across a bug (see below). It looks like the tick labelsize doesn't get passed properly to the parasite axes. I'm using Python2.6, matplotlib-1.0.0 release, and the Qt4Agg backend. Also, I noticed that th

[Matplotlib-users] Mac binary updated: bad file permission

2010-10-08 Thread Russell E. Owen
The Mac installer for matplotlib that I recently announced had a bug: a file in dateutil had bad permissions. I think I've finally got that straightened out and there's a new installer here: My apologies for the error. -- Russell -

Re: [Matplotlib-users] Graph

2010-10-08 Thread Tony S Yu
On Oct 8, 2010, at 6:52 AM, Waléria Antunes David wrote: > I don't understand what you did, i'm reading error data from a file. > > def gera_grafico(N=200, eps=1): > > x = np.abs(np.random.randn(N)) > y = 10*np.log((30*x + 1.)**(0.5)) + 34 + eps * np.random.randn(N) > yerr = eps * n

Re: [Matplotlib-users] ellipk

2010-10-08 Thread Sebastian Busch
hey pau, ellipk is in scipy.special: #!/usr/bin/env python from pylab import * from scipy.special import ellipk e=1. a_mpc = 4.0 p = a_mpc * (1 - e**2.) Phase = 4.*sqrt(p/(p -6. - 2.*e)) * ellipk(-4.*e/(p - 6. -2.*e)) greetings, sebastian. signature.asc Description: OpenPGP digital signatur

[Matplotlib-users] ellipk

2010-10-08 Thread Pau
Hi, I am trying to calculate a function with a complete elliptic integral of the 1st kind I have defined Phase = 4.*sqrt(p/(p -6. - 2.*e)) * ellipk(-4.*e/(p - 6. -2.*e)) where a_mpc = 4.0 p = a_mpc * (1 - e**2.) and I have of course done this #!/usr/bin/env python from pylab import * But w

Re: [Matplotlib-users] Graph

2010-10-08 Thread Waléria Antunes David
I don't understand what you did, i'm reading error data from a file. def gera_grafico(N=200, eps=1): x = np.abs(np.random.randn(N)) y = 10*np.log((30*x + 1.)**(0.5)) + 34 + eps * np.random.randn(N) yerr = eps * np.random.randn(N) I don't understand what you did in this code ?? Than