pub struct Plot2D { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Plot for Plot2D
impl Plot for Plot2D
fn set_domain(&mut self, x: Vec<f64>) -> &mut Self
fn insert_image(&mut self, y: Vec<f64>) -> &mut Self
fn insert_pair(&mut self, xy: (Vec<f64>, Vec<f64>)) -> &mut Self
fn set_title(&mut self, title: &str) -> &mut Self
fn set_xlabel(&mut self, xlabel: &str) -> &mut Self
fn set_ylabel(&mut self, ylabel: &str) -> &mut Self
fn set_zlabel(&mut self, _zlabel: &str) -> &mut Self
fn set_xscale(&mut self, xscale: PlotScale) -> &mut Self
fn set_yscale(&mut self, yscale: PlotScale) -> &mut Self
fn set_xlim(&mut self, xlim: (f64, f64)) -> &mut Self
fn set_ylim(&mut self, ylim: (f64, f64)) -> &mut Self
fn set_legend(&mut self, legends: Vec<&str>) -> &mut Self
fn set_path(&mut self, path: &str) -> &mut Self
fn set_fig_size(&mut self, fig_size: (usize, usize)) -> &mut Self
fn set_dpi(&mut self, dpi: usize) -> &mut Self
fn grid(&mut self, grid: Grid) -> &mut Self
fn set_marker(&mut self, styles: Vec<(usize, Markers)>) -> &mut Self
fn set_style(&mut self, style: PlotStyle) -> &mut Self
fn tight_layout(&mut self) -> &mut Self
fn set_line_style(&mut self, style: Vec<(usize, LineStyle)>) -> &mut Self
fn set_color(&mut self, color: Vec<(usize, &str)>) -> &mut Self
fn set_alpha(&mut self, alpha: Vec<(usize, f64)>) -> &mut Self
fn set_plot_type(&mut self, plot_type: Vec<(usize, PlotType)>) -> &mut Self
fn savefig(&self) -> PyResult<()>
Auto Trait Implementations§
impl Freeze for Plot2D
impl RefUnwindSafe for Plot2D
impl Send for Plot2D
impl Sync for Plot2D
impl Unpin for Plot2D
impl UnwindSafe for Plot2D
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
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>
Converts
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>
Converts
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 more