pub struct ShadedBetweenPlot<'a> { /* private fields */ }Expand description
Builder for shaded area plots between two lines
Implementations§
Source§impl<'a> ShadedBetweenPlot<'a>
impl<'a> ShadedBetweenPlot<'a>
Sourcepub fn new(
label: &'a str,
x_data: &'a [f64],
y1_data: &'a [f64],
y2_data: &'a [f64],
) -> Self
pub fn new( label: &'a str, x_data: &'a [f64], y1_data: &'a [f64], y2_data: &'a [f64], ) -> Self
Create a new shaded plot between two lines
Sourcepub fn with_flags(self, flags: ShadedFlags) -> Self
pub fn with_flags(self, flags: ShadedFlags) -> Self
Set shaded flags for customization
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ShadedBetweenPlot<'a>
impl<'a> RefUnwindSafe for ShadedBetweenPlot<'a>
impl<'a> Send for ShadedBetweenPlot<'a>
impl<'a> Sync for ShadedBetweenPlot<'a>
impl<'a> Unpin for ShadedBetweenPlot<'a>
impl<'a> UnwindSafe for ShadedBetweenPlot<'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