Enum criterion_plot::errorbar::ErrorBar
source · [−]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,
},
}
Expand description
Asymmetric error bar plots
Variants
XErrorBars
Fields
Horizontal error bars
XErrorLines
Fields
Horizontal error bars, where each point is joined by a line
YErrorBars
Fields
Vertical error bars
YErrorLines
Fields
Vertical error bars, where each point is joined by a line
Trait Implementations
sourceimpl<X, Y, L, H> Plot<ErrorBar<X, Y, L, H>> for Figurewhere
H: IntoIterator,
H::Item: Data,
L: IntoIterator,
L::Item: Data,
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
impl<X, Y, L, H> Plot<ErrorBar<X, Y, L, H>> for Figurewhere
H: IntoIterator,
H::Item: Data,
L: IntoIterator,
L::Item: Data,
X: IntoIterator,
X::Item: Data,
Y: IntoIterator,
Y::Item: Data,
type Properties = Properties
type Properties = Properties
The properties associated to the plot
sourcefn plot<F>(&mut self, e: ErrorBar<X, Y, L, H>, configure: F) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
fn plot<F>(&mut self, e: ErrorBar<X, Y, L, H>, configure: F) -> &mut Figurewhere
F: FnOnce(&mut Properties) -> &mut Properties,
Plots some data
with some configuration
Auto Trait Implementations
impl<X, Y, L, H> RefUnwindSafe for ErrorBar<X, Y, L, H>where
H: RefUnwindSafe,
L: RefUnwindSafe,
X: RefUnwindSafe,
Y: RefUnwindSafe,
impl<X, Y, L, H> Send for ErrorBar<X, Y, L, H>where
H: Send,
L: Send,
X: Send,
Y: Send,
impl<X, Y, L, H> Sync for ErrorBar<X, Y, L, H>where
H: Sync,
L: Sync,
X: Sync,
Y: Sync,
impl<X, Y, L, H> Unpin for ErrorBar<X, Y, L, H>where
H: Unpin,
L: Unpin,
X: Unpin,
Y: Unpin,
impl<X, Y, L, H> UnwindSafe for ErrorBar<X, Y, L, H>where
H: UnwindSafe,
L: UnwindSafe,
X: UnwindSafe,
Y: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more