Re: [Matplotlib-users] problems with autoscale_view

2010-09-04 Thread Jeff Whitaker
On 9/4/10 5:58 PM, xyz wrote: > On 02/09/10 00:13, Benjamin Root wrote: >> >> I am not sure I understand what you mean. Could you please attach an >> image of the problem? >> >> Ben Root >> > Please find attached a picture of the problem. How is it possible to > solve the problems? > > This is

Re: [Matplotlib-users] problems with autoscale_view

2010-09-01 Thread Benjamin Root
On Wed, Sep 1, 2010 at 7:21 AM, xyz wrote: > On 30/08/10 23:34, Ryan May wrote: > > On Mon, Aug 30, 2010 at 4:44 AM, xyz 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 y

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, xyz 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: * plt.text appears

Re: [Matplotlib-users] problems with autoscale_view

2010-08-30 Thread Ryan May
On Mon, Aug 30, 2010 at 4:44 AM, xyz 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: > * plt.text appears outside x and y coor

Re: [Matplotlib-users] problems with autoscale_view

2010-08-30 Thread xyz
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: * plt.text appears outside x and y coordinates * and the coordinates starts not from 0 with th

Re: [Matplotlib-users] problems with autoscale_view

2010-08-29 Thread Benjamin Root
On Sun, Aug 29, 2010 at 6:29 AM, xyz wrote: > On 29/08/10 17:28, Eric Firing wrote: > > On 08/28/2010 06:40 PM, xyz wrote: > >> Hello, > >> If I use autoscale_view than: > >> * plt.text appears outside x and y coordinates > >> * and the coordinates starts do not from 0 whereas I use ax.set_xlim(0

Re: [Matplotlib-users] problems with autoscale_view

2010-08-29 Thread xyz
On 29/08/10 17:28, Eric Firing wrote: > On 08/28/2010 06:40 PM, xyz wrote: >> Hello, >> If I use autoscale_view than: >> * plt.text appears outside x and y coordinates >> * and the coordinates starts do not from 0 whereas I use ax.set_xlim(0) >> and ax.set_ylim(0) >> >> What did I wrong? > The call

Re: [Matplotlib-users] problems with autoscale_view

2010-08-29 Thread xyz
On 29/08/10 17:28, Eric Firing wrote: > On 08/28/2010 06:40 PM, xyz wrote: > >> Hello, >> If I use autoscale_view than: >> * plt.text appears outside x and y coordinates >> * and the coordinates starts do not from 0 whereas I use ax.set_xlim(0) >> and ax.set_ylim(0) >> >> What did I wrong? >>

Re: [Matplotlib-users] problems with autoscale_view

2010-08-29 Thread Eric Firing
On 08/28/2010 06:40 PM, xyz wrote: > Hello, > If I use autoscale_view than: > * plt.text appears outside x and y coordinates > * and the coordinates starts do not from 0 whereas I use ax.set_xlim(0) > and ax.set_ylim(0) > > What did I wrong? The call to autoscale_view overrides the earlier calls t

[Matplotlib-users] problems with autoscale_view

2010-08-28 Thread xyz
Hello, If I use autoscale_view than: * plt.text appears outside x and y coordinates * and the coordinates starts do not from 0 whereas I use ax.set_xlim(0) and ax.set_ylim(0) What did I wrong? from pylab import * import matplotlib.pyplot as plt x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14