pub struct Plot {
pub xs: Matrix,
pub ys: Matrix,
pub line_desc: Vec<LineDesc>,
pub axis_desc: AxisDesc,
}Fields
xs: Matrixys: Matrixline_desc: Vec<LineDesc>axis_desc: AxisDescImplementations
sourceimpl Plot
impl Plot
pub fn new<A: PlotArg>(args: A) -> Plot
pub fn add<A: PlotArg>(&mut self, args: A)
pub fn set_title(&mut self, title: &str)
pub fn set_xlabel(&mut self, label: &str)
pub fn set_ylabel(&mut self, label: &str)
pub fn show(self)
pub fn show_threaded(self) -> JoinHandle<()>
Auto Trait Implementations
impl RefUnwindSafe for Plot
impl Send for Plot
impl Sync for Plot
impl Unpin for Plot
impl UnwindSafe for Plot
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more