function_lines

Function function_lines 

Source
pub fn function_lines(
    func: fn(f64) -> f64,
    range: Range<i64>,
    iterations: Option<u8>,
    kind: Option<usize>,
) -> Vec<Line>
Expand description

Creates and returns lines to sketch out a function func over a given range range; with n iterations done over integer steps. All lines created will be of type kind.