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, change

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 matlab

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 charts or

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... At

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 Friday 14

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():

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] 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

[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

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