Enum criterion_plot::errorbar::ErrorBar [−][src]
pub enum ErrorBar<X, Y, L, H> { XErrorBars { x: X, y: Y, x_low: L, x_high: H, }, XErrorLines { x: X, y: Y, x_low: L, x_high: H, }, YErrorBars { x: X, y: Y, y_low: L, y_high: H, }, YErrorLines { x: X, y: Y, y_low: L, y_high: H, }, }
Asymmetric error bar plots
Variants
XErrorBars
Horizontal error bars
Fields of XErrorBars
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
x_low: L | X coordinate of the left end of the error bar |
x_high: H | Y coordinate of the right end of the error bar |
XErrorLines
Horizontal error bars, where each point is joined by a line
Fields of XErrorLines
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
x_low: L | X coordinate of the left end of the error bar |
x_high: H | Y coordinate of the right end of the error bar |
YErrorBars
Vertical error bars
Fields of YErrorBars
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
y_low: L | Y coordinate of the bottom of the error bar |
y_high: H | Y coordinate of the top of the error bar |
YErrorLines
Vertical error bars, where each point is joined by a line
Fields of YErrorLines
x: X | X coordinate of the data points |
y: Y | Y coordinate of the data points |
y_low: L | Y coordinate of the bottom of the error bar |
y_high: H | Y coordinate of the top of the error bar |
Trait Implementations
impl<X, Y, L, H> Plot<ErrorBar<X, Y, L, H>> for Figure where
H: IntoIterator,
H::Item: Data,
L: IntoIterator,
L::Item: Data,
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
[src]
impl<X, Y, L, H> Plot<ErrorBar<X, Y, L, H>> for Figure where
H: IntoIterator,
H::Item: Data,
L: IntoIterator,
L::Item: Data,
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
type Properties = Properties
The properties associated to the plot
fn plot<F>(&mut self, e: ErrorBar<X, Y, L, H>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
[src]
fn plot<F>(&mut self, e: ErrorBar<X, Y, L, H>, configure: F) -> &mut Figure where
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration