pub struct PlotStems { /* fields omitted */ }
Expand description
Struct to provide stem plotting functionality.
Create a new stem plot to be shown. Does not draw anything by itself, call
PlotStems::plot
on the struct for that.
Set the reference y value for the stems
Draw a previously-created stem plot. Use this in closures passed to
Plot::build()
. The axis_positions
specify where on the
X axis the stems are drawn, and the stem_values
specify what values the stems have.
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.