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
DotsA 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 |
ImpulsesA 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 |
LinesLine that joins the data points
Fields of Lines
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
LinesPointsLine 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 |
PointsA point on each data point
Fields of Points
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
StepsAn 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]
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]
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data with some configuration