Trait peroxide::util::plot::Plot

source ·
pub trait Plot {
Show 24 methods // Required methods 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<()>;
}

Required Methods§

source

fn set_domain(&mut self, x: Vec<f64>) -> &mut Self

source

fn insert_image(&mut self, y: Vec<f64>) -> &mut Self

source

fn insert_pair(&mut self, xy: (Vec<f64>, Vec<f64>)) -> &mut Self

source

fn set_title(&mut self, title: &str) -> &mut Self

source

fn set_xlabel(&mut self, xlabel: &str) -> &mut Self

source

fn set_ylabel(&mut self, ylabel: &str) -> &mut Self

source

fn set_zlabel(&mut self, zlabel: &str) -> &mut Self

source

fn set_xscale(&mut self, xscale: PlotScale) -> &mut Self

source

fn set_yscale(&mut self, yscale: PlotScale) -> &mut Self

source

fn set_xlim(&mut self, xlim: (f64, f64)) -> &mut Self

source

fn set_ylim(&mut self, ylim: (f64, f64)) -> &mut Self

source

fn set_legend(&mut self, legends: Vec<&str>) -> &mut Self

source

fn set_path(&mut self, path: &str) -> &mut Self

source

fn set_fig_size(&mut self, fig_size: (usize, usize)) -> &mut Self

source

fn set_dpi(&mut self, dpi: usize) -> &mut Self

source

fn grid(&mut self, grid: Grid) -> &mut Self

source

fn set_marker(&mut self, styles: Vec<(usize, Markers)>) -> &mut Self

source

fn set_style(&mut self, style: PlotStyle) -> &mut Self

source

fn tight_layout(&mut self) -> &mut Self

source

fn set_line_style(&mut self, style: Vec<(usize, LineStyle)>) -> &mut Self

source

fn set_color(&mut self, color: Vec<(usize, &str)>) -> &mut Self

source

fn set_alpha(&mut self, alpha: Vec<(usize, f64)>) -> &mut Self

source

fn set_plot_type(&mut self, plot_type: Vec<(usize, PlotType)>) -> &mut Self

source

fn savefig(&self) -> PyResult<()>

Object Safety§

This trait is not object safe.

Implementors§