Skip to main content

one_per_cell

Function one_per_cell 

Source
pub fn one_per_cell(
    transform: &Transform,
    data: &[[f64; 2]],
    cell: f32,
) -> Vec<usize>
Expand description

One marker per cell-sized square of the frame: the first point that lands in it. Unlike thin, a curve that retraces itself (the cycles of a voltammogram) draws its markers once. Points outside the frame (plus a cell) are skipped.