line plot question


I'm fairly new to matplotlib and I have a question which may be obvious, but I haven't been able to figure out an answer.

Is there some kind of maximum size for a matplotlib.lines.Line2D instance? I am trying to make plots of noise for signal processing, and matplotlib fails to plot the entire array of data. For example, if I generate 262144 random numbers with

Python 2.4.1 (#1, May 16 2005, 15:19:29)
[GCC 4.0.0 20050512 (Red Hat 4.0.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pylab import *
>>> x = rand(262144)
>>> plot(x)
[<matplotlib.lines.Line2D instance at 0xb726b70c>]
>>> xlim(0,262144)
(0, 262144)
>>> show()

Then the plot terminates after ~ 30000 points. However, if I make the plot with points, e.g.

>>> plot(x,'.')
[<matplotlib.lines.Line2D instance at 0xb728b5cc>]
>>> show()

Then the plot looks correct. Any idea how I can make line plots of this? I'm using




Duncan Brown California Institute of Technology
Tapir: (626) 395 8409 MS 18-34, Pasadena, CA 91125, USA
LIGO: (626) 395 8812