pub const PLOT_BUCKETS: usize = 3000;
At most this many stretches a drawn line is cut into (peak_keeping): two points each, some six thousand a line.
peak_keeping