pub struct ScatterPlot<'a> { /* private fields */ }Expand description
Builder for scatter plots with customization options
Implementations§
Source§impl<'a> ScatterPlot<'a>
impl<'a> ScatterPlot<'a>
Sourcepub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
pub fn new(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
Create a new scatter plot with the given label and data
Sourcepub fn with_flags(self, flags: ScatterFlags) -> Self
pub fn with_flags(self, flags: ScatterFlags) -> Self
Set scatter flags for customization
Sourcepub fn with_offset(self, offset: i32) -> Self
pub fn with_offset(self, offset: i32) -> Self
Set data offset for partial plotting
Sourcepub fn with_stride(self, stride: i32) -> Self
pub fn with_stride(self, stride: i32) -> Self
Set data stride for non-contiguous data
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for ScatterPlot<'a>
impl<'a> RefUnwindSafe for ScatterPlot<'a>
impl<'a> Send for ScatterPlot<'a>
impl<'a> Sync for ScatterPlot<'a>
impl<'a> Unpin for ScatterPlot<'a>
impl<'a> UnwindSafe for ScatterPlot<'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