Memory Usage

Hi all,

I am using matplotlib to create a static graph from a few fairly large
data sets. (Over 500,000 samples)

I know you can pull out datasets of an axes by using the functions
get_xdata() and get_ydata(),
which leads me to wonder how matplotlib handles large data sets? Does
it keep the entire data sets stored in memory?

The application I am trying develop I hope to be able to run on low
end PC's with little RAM.

If data sets are indeed stored in RAM, is there a way to discard the
plot data after a plot had been created to leave just a static image?
Or, read and store data points directly from a file?

Thanks for your help.

Craig

2010/8/16 Craig Lyndon <c.a.lyndon@...287...>:

If data sets are indeed stored in RAM, is there a way to discard the
plot data after a plot had been created to leave just a static image?
Or, read and store data points directly from a file?

You can render to PIL using the Agg backend, and display this via
PIL.ImageTk in Tkinter if you're using Tkinter.

Just an option ... I think this is quite straightforward.

Friedrich