Re: [Matplotlib-users] How to get all data points plotted/displayed in a line plot

2010-09-01 Thread Jens Nie
Hi Ben. It is the version 1.0.0 that i am using, both on Linux and windows. Is there any newer (development) version that I should try? Jens [...] Is there any way to enforce plotting each and every point? I use matplotlib version 1.0.0 on a 32 Bit windows XP system installed via the

Re: [Matplotlib-users] problems with autoscale_view

2010-09-01 Thread xyz
On 30/08/10 23:34, Ryan May wrote: On Mon, Aug 30, 2010 at 4:44 AM, xyzmit...@op.pl wrote: On 30/08/10 03:51, Benjamin Root wrote: maxy = max(max(y1), max(y2)) maxx = max(x) ax.set_xlim((0.0, maxx)) ax.set_ylim((0.0, maxy)) Thank you, but unfortunately I have still the same problems: *

Re: [Matplotlib-users] problems with autoscale_view

2010-09-01 Thread Benjamin Root
On Wed, Sep 1, 2010 at 7:21 AM, xyz mit...@op.pl wrote: On 30/08/10 23:34, Ryan May wrote: On Mon, Aug 30, 2010 at 4:44 AM, xyzmit...@op.pl mit...@op.pl wrote: On 30/08/10 03:51, Benjamin Root wrote: maxy = max(max(y1), max(y2)) maxx = max(x) ax.set_xlim((0.0, maxx))

Re: [Matplotlib-users] remove matplotlib an OS X

2010-09-01 Thread Christopher Barker
vbkhp wrote: Hi, Could anyone tell me how can I remove matplotlib completely on Mac? I was on version 0.99 and I wanted to upgrade to version 1.0 so i removed the matplotlib directory and the egg file (besides the pylab.py, pylab.pyo, and pylab.pyc files), That should have done it --

[Matplotlib-users] Problem with errorbar in log scale

2010-09-01 Thread Thomas Robitaille
Hi, When using log scale, if the error is larger than flux, the error bar does not plot at all: import matplotlib as mpl mpl.use('Agg') import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1, 1, 1) ax.errorbar([1.],[1.],yerr=[2.]) ax.set_yscale('log') fig.savefig('test.png')

Re: [Matplotlib-users] change font name (under certain font.family)

2010-09-01 Thread Stan West
From: Yi Shang [mailto:mirandaisb...@gmail.com] Sent: Friday, August 27, 2010 17:33 Hi Ben, Thanks for the reply. I did try to match font.family and font.$family and I am using matplotlib 0.99.0. I did find something interesting... For testing, I tried only using font.family line, (deleting

[Matplotlib-users] draw after set_data

2010-09-01 Thread Philippe Crave
Hi, I use qt4 backend. I update some lines doing something like that: def draw_curves(self, datas, x): for y in datas: self.lines[i].set_data(x, y) min_y, max_y = self.min_max(y) self.ax[i].axis((0, x[-1], min_y, max_y))

[Matplotlib-users] Change default font

2010-09-01 Thread Ali Fessi
Hi, is there a way to change the default font, e.g., to Times New Roman?! I've been looking at the rcparams but it's kind of confusing. Cheers. -- This SF.net Dev2Dev email is sponsored by: Show off your parallel

Re: [Matplotlib-users] Change default font

2010-09-01 Thread Tony S Yu
On Sep 1, 2010, at 5:10 PM, Ali Fessi wrote: Hi, is there a way to change the default font, e.g., to Times New Roman?! I've been looking at the rcparams but it's kind of confusing. Cheers. Yes, but first you should make sure the font is on your system and is of the correct type,