pub struct AsymmetricErrorBarsPlot<'a> { /* private fields */ }Expand description
Builder for asymmetric error bars plots
Implementations§
Source§impl<'a> AsymmetricErrorBarsPlot<'a>
impl<'a> AsymmetricErrorBarsPlot<'a>
Sourcepub fn new(
label: &'a str,
x_data: &'a [f64],
y_data: &'a [f64],
err_neg: &'a [f64],
err_pos: &'a [f64],
) -> Self
pub fn new( label: &'a str, x_data: &'a [f64], y_data: &'a [f64], err_neg: &'a [f64], err_pos: &'a [f64], ) -> Self
Create a new asymmetric error bars plot
§Arguments
label- The label for the error barsx_data- X coordinates of the data pointsy_data- Y coordinates of the data pointserr_neg- Negative error values (downward/leftward)err_pos- Positive error values (upward/rightward)
Sourcepub fn with_flags(self, flags: ErrorBarsFlags) -> Self
pub fn with_flags(self, flags: ErrorBarsFlags) -> Self
Set error bar flags for customization
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for AsymmetricErrorBarsPlot<'a>
impl<'a> RefUnwindSafe for AsymmetricErrorBarsPlot<'a>
impl<'a> Send for AsymmetricErrorBarsPlot<'a>
impl<'a> Sync for AsymmetricErrorBarsPlot<'a>
impl<'a> Unpin for AsymmetricErrorBarsPlot<'a>
impl<'a> UnwindSafe for AsymmetricErrorBarsPlot<'a>
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