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
Horizontal error bars
Fields
§
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
§
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
§
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
Trait Implementations§
Source§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,
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,
Source§type Properties = Properties
type Properties = Properties
The properties associated to the plot
Auto Trait Implementations§
impl<X, Y, L, H> Freeze for ErrorBar<X, Y, L, H>
impl<X, Y, L, H> RefUnwindSafe for ErrorBar<X, Y, L, H>
impl<X, Y, L, H> Send for ErrorBar<X, Y, L, H>
impl<X, Y, L, H> Sync for ErrorBar<X, Y, L, H>
impl<X, Y, L, H> Unpin for ErrorBar<X, Y, L, H>
impl<X, Y, L, H> UnwindSafe for ErrorBar<X, Y, L, H>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more