pub struct ErrorZ<'a> { /* private fields */ }
Implementations§
Source§impl<'a> ErrorZ<'a>
impl<'a> ErrorZ<'a>
Sourcepub fn visible(&mut self, visible: bool) -> &mut Self
pub fn visible(&mut self, visible: bool) -> &mut Self
Determines whether or not this set of error bars is visible.
Sourcepub fn symmetric(&mut self, symmetric: bool) -> &mut Self
pub fn symmetric(&mut self, symmetric: bool) -> &mut Self
Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars.
Sourcepub fn array(&mut self, array: &'a [f64]) -> &mut Self
pub fn array(&mut self, array: &'a [f64]) -> &mut Self
Sets the data corresponding the length of each error bar. Values are plotted relative to the underlying data.
Sourcepub fn arrayminus(&mut self, arrayminus: &'a [f64]) -> &mut Self
pub fn arrayminus(&mut self, arrayminus: &'a [f64]) -> &mut Self
Sets the data corresponding the length of each error bar in the bottom (left) direction for vertical (horizontal) bars Values are plotted relative to the underlying data.
Sourcepub fn value(&mut self, value: f64) -> &mut Self
pub fn value(&mut self, value: f64) -> &mut Self
Sets the value of either the percentage (if type
is set to percent) or the constant (if type
is set to constant) corresponding to the lengths of the error bars.
default: 10
Sourcepub fn valueminus(&mut self, valueminus: f64) -> &mut Self
pub fn valueminus(&mut self, valueminus: f64) -> &mut Self
Sets the value of either the percentage (if type
is set to percent) or the constant (if type
is set to constant) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars
default: 10
Sourcepub fn tracerefminus(&mut self, tracerefminus: u64) -> &mut Self
pub fn tracerefminus(&mut self, tracerefminus: u64) -> &mut Self
default: 0