Re: [Matplotlib-users] ymax

2012-06-07 Thread kamel maths
Thank you very much. It works at last. Kamel 2012/6/7 Tony Yu > > On Thu, Jun 7, 2012 at 12:14 PM, kamel maths wrote: > >> Thanks for your answers. >> >> It is not very clear for me yet. This a script I tested. >> -- >> from pylab import * >> >> fig =

Re: [Matplotlib-users] ymax

2012-06-07 Thread Tony Yu
On Thu, Jun 7, 2012 at 12:14 PM, kamel maths wrote: > Thanks for your answers. > > It is not very clear for me yet. This a script I tested. > -- > from pylab import * > > fig = figure() > ax = fig.add_subplot(111) > ax.axis('equal') > > x = linspace(-2,

Re: [Matplotlib-users] ymax

2012-06-06 Thread Benjamin Root
On Wed, Jun 6, 2012 at 6:12 PM, Tony Yu wrote: > > > On Wed, Jun 6, 2012 at 3:32 PM, kamel maths wrote: > >> Hi, >> >> for this script: >> >> from pylab import * >> >> fig = figure() >> ax = fig.add_subplot(111) >> ax.axis('equal') >> >> x = linspace(-2, 3, 5

Re: [Matplotlib-users] ymax

2012-06-06 Thread Tony Yu
On Wed, Jun 6, 2012 at 3:32 PM, kamel maths wrote: > Hi, > > for this script: > > from pylab import * > > fig = figure() > ax = fig.add_subplot(111) > ax.axis('equal') > > x = linspace(-2, 3, 50) > ax.plot(x, sin(x)) > > show() > --

[Matplotlib-users] ymax

2012-06-06 Thread kamel maths
Hi, for this script: from pylab import * fig = figure() ax = fig.add_subplot(111) ax.axis('equal') x = linspace(-2, 3, 50) ax.plot(x, sin(x)) show() - If I try to get ymax with ax.get_ylim(), i obtain 1.0 whereas I observe it