How to set the range for x-axis

Martin mdekauwe at gmail.com
Mon Nov 9 23:02:56 CET 2009


On Nov 9, 8:45 pm, Robert Kern <robert.k... at gmail.com> wrote:
> On 2009-11-09 10:43 AM, Moses wrote:
>
>
>
> > Hi Chris,
>
> > I am using python 2.6 and am using scipy and pylab. See the code below.
>
> You will want to ask matplotlib questions on the matplotlib mailing list:
>
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
> --
> Robert Kern
>
> "I have come to believe that the whole world is an enigma, a harmless enigma
>   that is made terrible by our own mad attempt to interpret it as though it had
>   an underlying truth."
>    -- Umberto Eco

import matplotlib.pyplot as plt
plt.xlim(0., 1.)



More information about the Python-list mailing list