4 ms·
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
by IshKebab 11y ago
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.
- mynewtb 11y agoTry ECharts: https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjH8eWGlevMAhWFaRQKHdnUDwYQFggdMAA&url=https%3A%2F%2Fecomfe.github.io%2Fecharts%2Findex-en.html&usg=AFQjCNFeKEwB3k_rnmMyw88S7vJLJJiIKQ https://www.google.de/url?sa=t&rct=j&q=&esrc=s&source=web&cd...
- nharada 11y agoCouldn't you just downsample the wave file?
- Cerium 11y agoI 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.
- IshKebab 11y agoBut then I can't see the original samples if I zoom in. Plus that is a workaround rather than a fix.
- forgotpwtomain 11y agoAny 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?
- bliker 11y agoI have used http://dygraphs.com http://dygraphs.com for plotting audio with very good results.
- IshKebab 11y agoThat does look good...
- xioxox 11y agoMy 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.