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
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreLayout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.