Loading

LTTB


gts
Since v1.0.11
Available on all platforms
See also

The LTTB function downsamples a Geo Time Series™ or list thereof using the LTTB (Largest Triangle Three Buckets) algorithm. This algorithm downsamples a GTS by selecting datapoints from the original GTS which will preserve the overall shape of the graphical representation of the data.

Signature

Examples

NEWGTS 1 1000 <% 'i' STORE $i NaN NaN NaN $i 250. / PI * COS ADDVALUE %> FOR DUP // Keep 50 datapoints 50 LTTB