[PD] plot - 1000 element limit?
derek.x.kwan at gmail.com
Thu Jul 23 04:04:28 CEST 2020
Long time, no e-mail.
It seems there's a limit in [plot] to only plot the first 1000 elements
of a struct's array (at least for me on Ubuntu 18.04, pd 0.51)? I was
wondering if there was a practical and/or performance-related reason to
that limit (and also if said limit could be raised).
I might have a weird use case, but I've been building a video player with
16-parameter biometric data associated with each frame so I've been
using arrays in [struct]s to store the data and [plot] to plot it all
out with a cursor drawn with [drawpolygon] to track the position in the
data with the current video position. I've been working with up to
10-12ish minute long videos so that's arrays of about length 11000 with
16 elements per entry each and so I've been breaking the data up into
1000-element to get around that 1000 element limitation.
On my 5-ish year old laptop and loading up the data from a text file and
plotting everything and togglinng and untoggling plotting certain
parameters, the performance isn't so bad, definitely usable (just end
up with a horizontally loooong canvas that you have to navigate with a
fair bit of scrolling).
More information about the Pd-list