Struct rtplot::FigureConfig [−][src]
pub struct FigureConfig<'a> { pub xlim: Option<[f32; 2]>, pub ylim: Option<[f32; 2]>, pub xlabel: Option<&'a str>, pub ylabel: Option<&'a str>, pub color: [u8; 3], pub plot_type: PlotType, }
Fields
xlim: Option<[f32; 2]>
The min and max bounds of the x axis. If set to None, x-axis will be autoscaled. Defaults to None.
ylim: Option<[f32; 2]>
The min and max bounds of the y axis. If set to None, y-axis will be autoscaled. Defaults to None.
xlabel: Option<&'a str>
A label for the x-axis. Defaults to None.
ylabel: Option<&'a str>
A label for the y-axis. Defaults to None.
color: [u8; 3]
The color of points or lines to be drawn onto the graph. Defaults to 0x000000, or black.
plot_type: PlotType
The type of plot to draw. Defaults to a dot plot.
Trait Implementations
impl<'a> Clone for FigureConfig<'a>
[src]
impl<'a> Clone for FigureConfig<'a>
[src]fn clone(&self) -> FigureConfig<'a>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Default for FigureConfig<'a>
[src]
impl<'a> Default for FigureConfig<'a>
[src]fn default() -> FigureConfig<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for FigureConfig<'a>
impl<'a> RefUnwindSafe for FigureConfig<'a>
impl<'a> Send for FigureConfig<'a>
impl<'a> Send for FigureConfig<'a>
impl<'a> Sync for FigureConfig<'a>
impl<'a> Sync for FigureConfig<'a>
impl<'a> Unpin for FigureConfig<'a>
impl<'a> Unpin for FigureConfig<'a>
impl<'a> UnwindSafe for FigureConfig<'a>
impl<'a> UnwindSafe for FigureConfig<'a>