News for hackers. Stuff that matters.
Re:One Chart, Twelve Charting Libraries by IshKebab on Saturday May 21, 2016 @07:03AM (#11744238)
A performance comparison would be good. I was trying to plot an audio file (say 1 million points - something that Matlab could easily handle) and totally failed to find a graphing library that didn't fail miserably on it.
Re:One Chart, Twelve Charting Libraries by mynewtb on Saturday May 21, 2016 @08:27AM (#11744452)
Re:One Chart, Twelve Charting Libraries by bliker on Saturday May 21, 2016 @02:33PM (#11745643)
I have used http://dygraphs.com for plotting audio with very good results.
Re:One Chart, Twelve Charting Libraries by IshKebab on Saturday May 21, 2016 @05:11PM (#11746203)
That does look good...
Re:One Chart, Twelve Charting Libraries by forgotpwtomain on Saturday May 21, 2016 @11:38AM (#11745021)
Any libraries that are fast enough to do this are probably smoothing anyways - but I agree, the library should do that for you - rather than requiring additional user effort. Also not sure does e.g. matplotlib not do this?
Re:One Chart, Twelve Charting Libraries by nharada on Saturday May 21, 2016 @10:20AM (#11744746)
Couldn't you just downsample the wave file?
Re:One Chart, Twelve Charting Libraries by Cerium on Sunday May 22, 2016 @02:53AM (#11747600)
I don't know why you are getting down voted. This is the correct answer; when a screen only has 1000 pixels of graph you can't plot more than 2000 points of time domain data, max and min of each column. As you zoom in resample for the correct range. Influxdb can help do this, very quickly. I can allow up to 200000 points of raw data before I need to do any pre-computation and still maintain a 100 ms charting latency target.
Re:One Chart, Twelve Charting Libraries by IshKebab on Monday May 23, 2016 @07:50AM (#11753229)
But then I can't see the original samples if I zoom in. Plus that is a workaround rather than a fix.
Re:One Chart, Twelve Charting Libraries by xioxox on Saturday May 21, 2016 @04:08PM (#11745977)
My Veusz package can handle that in a second or two if anti-aliasing is switched off. It takes a 1.5-2x longer with anti-aliasing on.