Enum criterion_plot::curve::Curve [−][src]
pub enum Curve<X, Y> { Dots { x: X, y: Y, }, Impulses { x: X, y: Y, }, Lines { x: X, y: Y, }, LinesPoints { x: X, y: Y, }, Points { x: X, y: Y, }, Steps { x: X, y: Y, }, }
Types of "curve" plots
Variants
Dots
A minimally sized dot on each data point
Fields of Dots
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
Impulses
A vertical "impulse" on each data point
Fields of Impulses
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
Lines
Line that joins the data points
Fields of Lines
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
LinesPoints
Line with a point on each data point
Fields of LinesPoints
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
Points
A point on each data point
Fields of Points
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
Steps
An step _|
between each data point
Fields of Steps
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
Trait Implementations
impl<X, Y> Plot<Curve<X, Y>> for Figure where
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
[src]
impl<X, Y> Plot<Curve<X, Y>> for Figure where
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
type Properties = Properties
The properties associated to the plot
fn plot<F>(&mut self, curve: Curve<X, Y>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
[src]
fn plot<F>(&mut self, curve: Curve<X, Y>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration