Realm

oa::plot::axes::Axes

One subplot inside an oa::plot::Figure.

StRust public API

Declaration

pub struct Axes { /* private fields */ }
Public Rust declaration.

Public Methods

pub fn title(&mut self, text: &str)
pub fn title_color(&mut self, text: &str, color: Color)
pub fn caption(&mut self, text: &str)
pub fn caption_color(&mut self, text: &str, color: Color)
pub fn x_label(&mut self, text: &str)
pub fn y_label(&mut self, text: &str)
pub fn imshow(&mut self, texture: Texture)
pub fn heatmap( &mut self, values: &[f32], rows: i32, cols: i32, style: HeatmapStyle, )
pub fn heatmap_matrix(&mut self, values: Matrix, style: HeatmapStyle)
pub fn plot(&mut self, y: &[f32], style: LineStyle)
pub fn plot_xy(&mut self, x: &[f32], y: &[f32], style: LineStyle)
pub fn plot_matrix(&mut self, values: &Matrix, style: LineStyle)
pub fn plot_matrix_y(&mut self, values: &Matrix, style: LineStyle)
pub fn annotate(&mut self, text: &str, x: f32, y: f32)
pub fn categories(&mut self, labels: &[&str])
pub fn xscale(&mut self, scale: Scale)
pub fn yscale(&mut self, scale: Scale)
pub fn xticks(&mut self, values: &[f32])
pub fn yticks(&mut self, values: &[f32])
pub fn xformat(&mut self, format: TickFormat)
pub fn yformat(&mut self, format: TickFormat)
pub fn scatter(&mut self, x: &[f32], y: &[f32], style: ScatterStyle)
pub fn bar(&mut self, y: &[f32], style: BarStyle)
pub fn bar_grouped(&mut self, series: &[&[f32]], styles: &[BarStyle])
pub fn bar_stacked(&mut self, series: &[&[f32]], styles: &[BarStyle])
pub fn stream(&mut self, capacity: usize, style: LineStyle) -> usize
pub fn stream_push(&mut self, series: usize, values: &[f32])
pub fn band(&mut self, y_lo: &[f32], y_hi: &[f32], style: LineStyle)
pub fn boxplot(&mut self, datasets: &[&[f32]], style: BoxStyle)
pub fn histogram(&mut self, values: &[f32], bins: i32, style: BarStyle)
pub fn limits(&mut self, x_min: f32, x_max: f32, y_min: f32, y_max: f32)
pub fn auto_limits(&mut self)
pub fn grid(&mut self, visible: bool)
pub fn legend(&mut self, visible: bool)
pub fn border_color(&mut self, color: Color)
pub fn clear(&mut self)
pub fn artist_count(&self) -> usize
pub fn artist_hidden(&self, index: usize) -> Option<bool>
pub fn set_artist_hidden(&mut self, index: usize, hidden: bool)
pub fn set_series_highlight(&mut self, index: Option<usize>)
pub fn data_limits(&self) -> [f32; 4]
pub fn explicit_limits(&self) -> Option<[f32; 4]>
fn clone(&self) -> Axes

Associated Functions

fn default() -> Self

Public Method Documentation

pub fn title( &mut self, text: &str )
No public source comment is attached to this declaration.
pub fn title_color( &mut self, text: &str, color: Color )
No public source comment is attached to this declaration.
pub fn caption( &mut self, text: &str )
No public source comment is attached to this declaration.
pub fn caption_color( &mut self, text: &str, color: Color )
No public source comment is attached to this declaration.
pub fn x_label( &mut self, text: &str )
No public source comment is attached to this declaration.
pub fn y_label( &mut self, text: &str )
No public source comment is attached to this declaration.
pub fn imshow( &mut self, texture: Texture )
No public source comment is attached to this declaration.
pub fn heatmap( &mut self, values: &[f32], rows: i32, cols: i32, style: HeatmapStyle )
No public source comment is attached to this declaration.
pub fn heatmap_matrix( &mut self, values: Matrix, style: HeatmapStyle )
No public source comment is attached to this declaration.
pub fn plot( &mut self, y: &[f32], style: LineStyle )
No public source comment is attached to this declaration.
pub fn plot_xy( &mut self, x: &[f32], y: &[f32], style: LineStyle )
No public source comment is attached to this declaration.
pub fn plot_matrix( &mut self, values: &Matrix, style: LineStyle )
No public source comment is attached to this declaration.
pub fn plot_matrix_y( &mut self, values: &Matrix, style: LineStyle )
No public source comment is attached to this declaration.
pub fn annotate( &mut self, text: &str, x: f32, y: f32 )
No public source comment is attached to this declaration.
pub fn categories( &mut self, labels: &[&str] )
No public source comment is attached to this declaration.
pub fn xscale( &mut self, scale: Scale )
No public source comment is attached to this declaration.
pub fn yscale( &mut self, scale: Scale )
No public source comment is attached to this declaration.
pub fn xticks( &mut self, values: &[f32] )
No public source comment is attached to this declaration.
pub fn yticks( &mut self, values: &[f32] )
No public source comment is attached to this declaration.
pub fn xformat( &mut self, format: TickFormat )
No public source comment is attached to this declaration.
pub fn yformat( &mut self, format: TickFormat )
No public source comment is attached to this declaration.
pub fn scatter( &mut self, x: &[f32], y: &[f32], style: ScatterStyle )
No public source comment is attached to this declaration.
pub fn bar( &mut self, y: &[f32], style: BarStyle )
No public source comment is attached to this declaration.
pub fn bar_grouped( &mut self, series: &[&[f32]], styles: &[BarStyle] )
No public source comment is attached to this declaration.
pub fn bar_stacked( &mut self, series: &[&[f32]], styles: &[BarStyle] )
No public source comment is attached to this declaration.
pub fn stream( &mut self, capacity: usize, style: LineStyle ) -> usize
No public source comment is attached to this declaration.
pub fn stream_push( &mut self, series: usize, values: &[f32] )
No public source comment is attached to this declaration.
pub fn band( &mut self, y_lo: &[f32], y_hi: &[f32], style: LineStyle )
No public source comment is attached to this declaration.
pub fn boxplot( &mut self, datasets: &[&[f32]], style: BoxStyle )
No public source comment is attached to this declaration.
pub fn histogram( &mut self, values: &[f32], bins: i32, style: BarStyle )
No public source comment is attached to this declaration.
pub fn limits( &mut self, x_min: f32, x_max: f32, y_min: f32, y_max: f32 )
No public source comment is attached to this declaration.
pub fn auto_limits( &mut self )
No public source comment is attached to this declaration.
pub fn grid( &mut self, visible: bool )
No public source comment is attached to this declaration.
pub fn legend( &mut self, visible: bool )
No public source comment is attached to this declaration.
pub fn border_color( &mut self, color: Color )
No public source comment is attached to this declaration.
pub fn clear( &mut self )
No public source comment is attached to this declaration.
pub fn artist_count( &self ) -> usize
No public source comment is attached to this declaration.
pub fn artist_hidden( &self, index: usize ) -> Option<bool>
No public source comment is attached to this declaration.
pub fn set_artist_hidden( &mut self, index: usize, hidden: bool )
No public source comment is attached to this declaration.
pub fn set_series_highlight( &mut self, index: Option<usize> )
No public source comment is attached to this declaration.
pub fn data_limits( &self ) -> [f32; 4]
No public source comment is attached to this declaration.
pub fn explicit_limits( &self ) -> Option<[f32; 4]>
No public source comment is attached to this declaration.
fn clone( &self ) -> Axes
No public source comment is attached to this declaration.
fn default() -> Self
No public source comment is attached to this declaration.