Carl Wenrich wrote:
> Thanks, Jeff. The hlines work fine. But the ylim doesn't change
> anything. I still get a plot that goes from 20 to 90 instead of 0 to
> 100. Here's my code. Please take a quick look and tell me where I have
> to put the ylim statement.
>
> fig = figure(figsize=(6,2))
> tit
carlwenrich wrote:
> I have a dataset where the values range from 20 to 90, but I want the y
> coordinates to go from 0 to 100.
>
import pylab
pylab.ylim(0,100)
> Also, how can I draw a highlight (colored line) across the chart at 30, and
> another at 70?
>
pylab.axhline(30,color='r')
pylab
I have a dataset where the values range from 20 to 90, but I want the y
coordinates to go from 0 to 100.
Also, how can I draw a highlight (colored line) across the chart at 30, and
another at 70?
--
View this message in context:
http://www.nabble.com/How-do-I-make-the-ticks-go-from-0-to-100--tp1
KURT PETERS wrote:
> Jeff,
> Do you think it's possible the names or CITIESX020 variable are not
> being brought in in the right order?
> I modified my code to use scatter, and, although it looks like the
> dots are in the right place, the names aren't matching?
> see code:
> =
> import
Jeff,
Do you think it's possible the names or CITIESX020 variable are not being
brought in in the right order?
I modified my code to use scatter, and, although it looks like the dots
are in the right place, the names aren't matching?
see code:
=
import pylab as p
import numpy
from mat
KURT PETERS wrote:
> can someone explain why scatter would work but gca.annotate would not when
> plotting data on a map (see previous posts)?
> I've also tried pylib.figtext and that doesn't work either.
>
> Regards,
> Kurt
>
>
>
Kurt: This works for me (with the latest svn version of base
can someone explain why scatter would work but gca.annotate would not when
plotting data on a map (see previous posts)?
I've also tried pylib.figtext and that doesn't work either.
Regards,
Kurt
-
Check out the new Source
John wrote:
> Hello, could someone please help me understand a strange problem,
> possibly associated with PYTHONPATH. When I import matplotlib, pylab, or
> scipy from any directory other than the root installation directory, it
> fails. However, if I'm in the python installation directory there
Nick Susch wrote:
> Hi,
>
> I am new to this list, so forgive me if this has been asked before. I
> am trying to do a radial plot and the following code does not seem to
> work:
>
> # --< START CODE >---
> import pylab
> import matplotlib
>
> fig = pylab.figure(figsize=(8,8))
> ax = fig.a
Christopher Barker wrote:
> Hi all,
>
> as far as I can tell, matplotlib.py2exe_datafiles is broken with the
> latest release. Is it getting fixed?
>
> Also, there is a LOT of stuff in there -- is there a way to strip out
> the stuff you may not need for a particular application? I'm using MPl
>
10 matches
Mail list logo