Plotting large data sets with Pylab

Bruno,

First, as a side note, even though your Windows machine is a 64-bit machine, the fact is that you are running a 32-bit Windows, which will limit the amount of memory any one process can use.

As for your error message, I believe that is actually something slightly different than what I originally thought. Have you tried dealing with path.simplfy? Which version of matplotlib are you running?

Ben Root

···

On Tue, Feb 22, 2011 at 10:30 AM, Bruno George <bgeorge98121@…287…> wrote:

Dear Benjamin,

Thanks for the observations. The speed wasn’t as large of a concern as the Python’s ability to plot the volume of data in Windows… The Mac was a MacBook Air laptop, 1.8GHz Intel dual core 64 bit processor while the Windows desk side machine using an AMD64 3200+ 2.1 GHz processor running 32 bit Windows. Both machines have 2GB ram the Windows machine is using a Nvidia GeForce 6200 graphics card and the Mac is using Intel on board graphics. The hardware is fairly well matched by and large.

Here’s the error message from the PC:


Exception in Tkinter callback
Traceback (most recent call last):

File “C:\Python27\lib\lib-tk\Tkinter.py”, line 1410, in call
return self.func(*args)
File “C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py”, line 245, in resize

self.show()

File “C:\Python27\lib\site-packages\matplotlib\backends\backend_tkagg.py”, line 248, in draw
FigureCanvasAgg.draw(self)
File “C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py”, line 394, in draw

self.figure.draw(self.renderer)

File “C:\Python27\lib\site-packages\matplotlib\artist.py”, line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File “C:\Python27\lib\site-packages\matplotlib\figure.py”, line 798, in draw

func(*args)

File “C:\Python27\lib\site-packages\matplotlib\artist.py”, line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File “C:\Python27\lib\site-packages\matplotlib\axes.py”, line 1946, in draw

a.draw(renderer)

File “C:\Python27\lib\site-packages\matplotlib\artist.py”, line 55, in draw_wrapper
draw(artist, renderer, *args, **kwargs)
File “C:\Python27\lib\site-packages\matplotlib\lines.py”, line 540, in draw

drawFunc(renderer, gc, tpath, affine.frozen())

File “C:\Python27\lib\site-packages\matplotlib\lines.py”, line 905, in _draw_lines
self._lineFunc(renderer, gc, path, trans)
File “C:\Python27\lib\site-packages\matplotlib\lines.py”, line 986, in _draw_solid

renderer.draw_path(gc, path, trans)

File “C:\Python27\lib\site-packages\matplotlib\backends\backend_agg.py”, line 117, in draw_path
self._renderer.draw_path(gc, path, transform, rgbFace)
OverflowError: Agg rendering complexity exceeded. Consider downsampling or decimating your data


Thanks for looking into my problem,

Bruno George