Re: [Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Chris Barker wrote: > Hi all, > > I'm having an odd issue with the wxAgg back-end: Update: If I remove: matplotlib/backends/_wxagg.pyd The problem goes away. It looks like that pyd is getting loaded even though I'm running wxPython2.8 However, now I get a non-valid png when I do savefig

[Matplotlib-users] wxagg back-end bug on windows?

2008-03-28 Thread Chris Barker
Hi all, I'm having an odd issue with the wxAgg back-end: windows XP python 2.5.2 (from python.org) wxPython 2.8.7.1 unicode (binary from wxPython.org) MPL 0.91.2 (binary from MPl site) when I run: import matplotlib matplotlib.use('wxagg') import pylab I get a popup dialog: "This application fa

Re: [Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-28 Thread Gerolf Ziegenhain
Hi, Thanks for all the replies! Of course it is not directly a bug. But awkward. This is how I was finally able to change alle fonts and the whole layout of the plot: fig_width_pt = 246.0 # Get this from LaTeX using \showthe\columnwidth inches_per_pt = 1.0/72.27 # Convert pt to inc

Re: [Matplotlib-users] Setting font family in ticks not possible. Bug?

2008-03-28 Thread Gerolf Ziegenhain
More complete: I tried all permunations of backends. Now I stick to PS, because I use matplotlib from commandline with scripts. The environment is debian/etch with a current version of matplotlib (self compiled). Try this script from pylab import * t

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread John Hunter
On Fri, Mar 28, 2008 at 8:20 AM, Matthias Michler <[EMAIL PROTECTED]> wrote: > On Friday 28 March 2008 13:57, Chris Withers wrote: > > Matthias Michler wrote: > > > I'm not sure it is the easiest way, but it works for me: > > > > > > for label in ax.xaxis.get_majorticklabels(): > > > label

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Ryan Dale
Chris Withers wrote: >> So, basically make the x axis time instead of numbers. >> I think the problem is actually that the daets are quite long in their >> format. If they were rotated through 90 degress it'd likely be fine. >> How would I do this? > > I'm not sure it is the easiest way, but it wo

Re: [Matplotlib-users] Polygon masking possible?

2008-03-28 Thread Chiara Caronna
I am not sure how should I use it any hints? > From: [EMAIL PROTECTED] > To: matplotlib-users@lists.sourceforge.net > Subject: Re: [Matplotlib-users] Polygon masking possible? > Date: Fri, 14 Mar 2008 18:03:13 + > CC: [EMAIL PROTECTED] > > On Frida

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Matthias Michler
On Friday 28 March 2008 13:57, Chris Withers wrote: > Matthias Michler wrote: > > I'm not sure it is the easiest way, but it works for me: > > > > for label in ax.xaxis.get_majorticklabels(): > > label.set_rotation(+90) > > Yes, that's what I was using, just wondered if there was a better way..

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Chris Withers
Matthias Michler wrote: > I'm not sure it is the easiest way, but it works for me: > > for label in ax.xaxis.get_majorticklabels(): > label.set_rotation(+90) Yes, that's what I was using, just wondered if there was a better way... >> Also, how would I get this kind of updating with bar chart

Re: [Matplotlib-users] prctile not interpolating

2008-03-28 Thread Lionel Roubeyrie
You can use the scipy version: |~|[10]>from scipy.stats import stats |~|[11]>stats.scoreatpercentile(x,50) Out [11]:7.5 Le vendredi 28 mars 2008, David Simpson a écrit : > I would like to find percentiles, with interpolation where needed, but > the matplotlib prctile seems to be different to matla

[Matplotlib-users] prctile not interpolating

2008-03-28 Thread David Simpson
I would like to find percentiles, with interpolation where needed, but the matplotlib prctile seems to be different to matlab in this respect: In [1]: x = array([ 3.0, 5.0, 7.0, 8.0, 9.0, 11.0 ]) In [2]: median(x) Out[2]: 7.5 In [3]: prctile(x,50) Out[3]: 8.0 is there a function available whi

Re: [Matplotlib-users] [newbie] "live" plots of multiple lines

2008-03-28 Thread Matthias Michler
Hello Chris, Hello list, On Thursday 27 March 2008 18:26, Chris Withers wrote: > Matthias Michler wrote: > > I'm not sure that I understand you correctly. The code I refering is the > > one which I attached some mails ago. The following works for me: > > Ah, okay, to get the problem I was having,