[Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total)

2010-02-10 Thread Krishna K
Hi, I am a beginner with matplotlib. I am trying to analyze huge dataset, the plot would have multiple lines. I am getting memory error (it fails maxing out ~2.5GB on my system). I am assuming there are probably ways to simplify the data, I came across something 'simplify' for 'path', not sure

Re: [Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total

2010-02-10 Thread Oz Nahum
Hello Krishna, This is really crazy ploting so many data point, after all the human eye can't separate all the data. Try sampling the vector of the data point - to a smaller extent. Here's a quick and dirty solution how to sample every nth element in a vector - there's probably a faster way,

Re: [Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total

2010-02-10 Thread Christopher Barker
Oz Nahum wrote: Here's a quick and dirty solution how to sample every nth element in a vector - there's probably a faster way, with out loops, there sure is: In [8]: orig Out[8]: array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]) In [9]:

Re: [Matplotlib-users] Plotting multiline graph with large dataset (6 lines, about 30, 000, 000 points total

2010-02-10 Thread Alan G Isaac
On 2/10/2010 1:17 PM, Oz Nahum wrote: This is really crazy ploting so many data point, after all the human eye can't separate all the data. Following up on Oz's point ... let's suppose that is 5M points for each of the 6 lines, and that you will try to place them on a 5 inch wide axis. That is