And to answer my own question, I need to do:
plot(range(75))
axis([0, 74, 0, 74])
show()
Sorry for the noise.
Tim
On Fri, 08 Apr 2005, Tim Leslie <ti...@cs...> wrote...
> Hi All,
>
> I've got a nice simple question for you. If I do:
>
> plot(range(75))
> show()
>
> The figure shows up as expected, but the x and y axes both run from 0 to
> 80. Is there some way to force them to only include the required range of
> points, eg 0 to 75? I had a play around with the axes() and figure()
> functions but I wasn't able to get them to do what I wanted. Not sure if I
> was maybe barking up the wrong tree.
>
> Cheers,
>
> Tim Leslie
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
`-
|