pub struct Axes2D { /* private fields */ }
Expand description
2D axes that is used for drawing 2D plots
Implementations§
source§impl Axes2D
impl Axes2D
sourcepub fn set_border<'l>(
&'l mut self,
front: bool,
locations: &[BorderLocation2D],
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn set_border<'l>( &'l mut self, front: bool, locations: &[BorderLocation2D], options: &[PlotOption<&str>] ) -> &'l mut Self
Sets the properties of the plot border
Arguments
front
- Whether or not to draw the border above or below the plot contentslocations
- Which locations of the border to drawoptions
- Array of PlotOption controlling the appearance of the border. Relevant options are:Color
- Specifies the color of the borderLineStyle
- Specifies the style of the borderLineWidth
- Specifies the width of the border
sourcepub fn set_x_axis<'l>(
&'l mut self,
show: bool,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn set_x_axis<'l>( &'l mut self, show: bool, options: &[PlotOption<&str>] ) -> &'l mut Self
Sets the properties of x axis.
Arguments
show
- Whether or not draw the axisoptions
- Array of PlotOption<&str> controlling the appearance of the axis. Relevant options are:Color
- Specifies the color of the borderLineStyle
- Specifies the style of the borderLineWidth
- Specifies the width of the border
sourcepub fn set_y_axis<'l>(
&'l mut self,
show: bool,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn set_y_axis<'l>( &'l mut self, show: bool, options: &[PlotOption<&str>] ) -> &'l mut Self
Like set_x_axis
but for the y axis.
sourcepub fn arrow<'l>(
&'l mut self,
x1: Coordinate,
y1: Coordinate,
x2: Coordinate,
y2: Coordinate,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn arrow<'l>( &'l mut self, x1: Coordinate, y1: Coordinate, x2: Coordinate, y2: Coordinate, options: &[PlotOption<&str>] ) -> &'l mut Self
Adds an arrow to the plot. The arrow is drawn from (x1, y1)
to (x2, y2)
with the arrow point towards (x2, y2)
.
Arguments
x1
- X coordinate of the arrow starty1
- Y coordinate of the arrow startx2
- X coordinate of the arrow endy2
- Y coordinate of the arrow endoptions
- Array of PlotOption<&str> controlling the appearance of the arrowhead and arrow shaft. Relevant options are:ArrowType
- Specifies the style of the arrow head (or an option to omit it)ArrowSize
- Sets the size of the arrow head (in graph units)Color
- Specifies the color of the arrowLineStyle
- Specifies the style of the arrow shaftLineWidth
- Specifies the width of the arrow shaft
sourcepub fn set_legend<'l>(
&'l mut self,
x: Coordinate,
y: Coordinate,
legend_options: &[LegendOption<&str>],
text_options: &[LabelOption<&str>]
) -> &'l mut Self
pub fn set_legend<'l>( &'l mut self, x: Coordinate, y: Coordinate, legend_options: &[LegendOption<&str>], text_options: &[LabelOption<&str>] ) -> &'l mut Self
Specifies the location and other properties of the legend
Arguments
x
- X coordinate of the legendy
- Y coordinate of the legendlegend_options
- Array of LegendOption optionstext_options
- Array of LabelOption options specifying the appearance of the plot titles. Valid options are:Font
TextColor
TextAlign(AlignLeft)
TextAlign(AlignRight)
sourcepub fn lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>(
&'l mut self,
x: X,
y: Y,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>( &'l mut self, x: X, y: Y, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with lines connecting each data point
Arguments
x
- x valuesy
- y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).LineWidth
- Sets the width of the lineLineStyle
- Sets the style of the lineColor
- Sets the color
sourcepub fn points<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>(
&'l mut self,
x: X,
y: Y,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn points<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>( &'l mut self, x: X, y: Y, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with a point standing in for each data point
Arguments
x
- x valuesy
- y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).PointSymbol
- Sets symbol for each pointPointSize
- Sets the size of each pointColor
- Sets the color
sourcepub fn lines_points<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>(
&'l mut self,
x: X,
y: Y,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn lines_points<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>( &'l mut self, x: X, y: Y, options: &[PlotOption<&str>] ) -> &'l mut Self
A combination of lines and points methods (drawn in that order).
Arguments
x
- x valuesy
- y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element
sourcepub fn x_error_bars<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Txe: DataType, XE: IntoIterator<Item = Txe>>(
&'l mut self,
x: X,
y: Y,
x_error: XE,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn x_error_bars<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Txe: DataType, XE: IntoIterator<Item = Txe>>( &'l mut self, x: X, y: Y, x_error: XE, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with a point standing in for each data point. Additionally, error bars are attached to each data point in the X direction.
Arguments
x
- x valuesy
- y valuesx_error
- Errors associated with the x valueoptions
- Array of PlotOption controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).PointSymbol
- Sets symbol for each pointPointSize
- Sets the size of each pointColor
- Sets the color
sourcepub fn y_error_bars<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tye: DataType, YE: IntoIterator<Item = Tye>>(
&'l mut self,
x: X,
y: Y,
y_error: YE,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn y_error_bars<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tye: DataType, YE: IntoIterator<Item = Tye>>( &'l mut self, x: X, y: Y, y_error: YE, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with a point standing in for each data point. Additionally, error bars are attached to each data point in the Y direction.
Arguments
x
- x valuesy
- y valuesy_error
- Errors associated with the y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).PointSymbol
- Sets symbol for each pointPointSize
- Sets the size of each pointColor
- Sets the color
sourcepub fn x_error_lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Txe: DataType, XE: IntoIterator<Item = Txe>>(
&'l mut self,
x: X,
y: Y,
x_error: XE,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn x_error_lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Txe: DataType, XE: IntoIterator<Item = Txe>>( &'l mut self, x: X, y: Y, x_error: XE, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with a point standing in for each data point and lines connecting each data point. Additionally, error bars are attached to each data point in the X direction.
Arguments
x
- x valuesy
- y valuesx_error
- Errors associated with the x valueoptions
- Array of PlotOption controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).PointSymbol
- Sets symbol for each pointPointSize
- Sets the size of each pointLineWidth
- Sets the width of the lineLineStyle
- Sets the style of the lineColor
- Sets the color
sourcepub fn y_error_lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tye: DataType, YE: IntoIterator<Item = Tye>>(
&'l mut self,
x: X,
y: Y,
y_error: YE,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn y_error_lines<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tye: DataType, YE: IntoIterator<Item = Tye>>( &'l mut self, x: X, y: Y, y_error: YE, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot with a point standing in for each data point and lines connecting each data point. Additionally, error bars are attached to each data point in the Y direction.
Arguments
x
- x valuesy
- y valuesy_error
- Errors associated with the y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).PointSymbol
- Sets symbol for each pointPointSize
- Sets the size of each pointLineWidth
- Sets the width of the lineLineStyle
- Sets the style of the lineColor
- Sets the color
sourcepub fn fill_between<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Tyl: DataType, YL: IntoIterator<Item = Tyl>, Tyh: DataType, YH: IntoIterator<Item = Tyh>>(
&'l mut self,
x: X,
y_lo: YL,
y_hi: YH,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn fill_between<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Tyl: DataType, YL: IntoIterator<Item = Tyl>, Tyh: DataType, YH: IntoIterator<Item = Tyh>>( &'l mut self, x: X, y_lo: YL, y_hi: YH, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot of two curves (bound by y_lo
and y_hi
) with a filled region between them.
FillRegion
plot option can be used to control what happens when the curves intersect. If set to Above, then the y_lo < y_hi
region is filled.
If set to Below, then the y_lo > y_hi
region is filled. Otherwise both regions are filled.
Arguments
x
- x valuesy_lo
- Bottom y valuesy_hi
- Top y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).FillRegion
- Specifies the region between the two curves to fillColor
- Sets the color of the filled regionFillAlpha
- Sets the transparency of the filled region
sourcepub fn boxes<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>(
&'l mut self,
x: X,
y: Y,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn boxes<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>>( &'l mut self, x: X, y: Y, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot using boxes of automatic width. Box widths are set so that there are no gaps between successive boxes (i.e. each box may have a different width). Boxes start at the x-axis and go towards the y value of the datapoint.
Arguments
x
- x values (center of the box)y
- y valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).LineWidth
- Sets the width of the borderLineStyle
- Sets the style of the borderBorderColor
- Sets the color of the borderColor
- Sets the color of the box fillFillAlpha
- Sets the transparency of the box fill
sourcepub fn boxes_set_width<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tw: DataType, W: IntoIterator<Item = Tw>>(
&'l mut self,
x: X,
y: Y,
w: W,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn boxes_set_width<'l, Tx: DataType, X: IntoIterator<Item = Tx>, Ty: DataType, Y: IntoIterator<Item = Ty>, Tw: DataType, W: IntoIterator<Item = Tw>>( &'l mut self, x: X, y: Y, w: W, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D scatter-plot using boxes of set (per box) width. Boxes start at the x-axis and go towards the y value of the datapoint.
Arguments
x
- x values (center of the box)y
- y valuesw
- Box width valuesoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).LineWidth
- Sets the width of the borderLineStyle
- Sets the style of the borderBorderColor
- Sets the color of the borderColor
- Sets the color of the box fillFillAlpha
- Sets the transparency of the box fill
sourcepub fn box_and_whisker<'l, Tx: DataType, X: IntoIterator<Item = Tx>, TBoxMin: DataType, BoxMin: IntoIterator<Item = TBoxMin>, TWhiskerMin: DataType, WhiskerMin: IntoIterator<Item = TWhiskerMin>, TWhiskerMax: DataType, WhiskerMax: IntoIterator<Item = TWhiskerMax>, TBoxMax: DataType, BoxMax: IntoIterator<Item = TBoxMax>>(
&'l mut self,
x: X,
box_min: BoxMin,
whisker_min: WhiskerMin,
whisker_max: WhiskerMax,
box_max: BoxMax,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn box_and_whisker<'l, Tx: DataType, X: IntoIterator<Item = Tx>, TBoxMin: DataType, BoxMin: IntoIterator<Item = TBoxMin>, TWhiskerMin: DataType, WhiskerMin: IntoIterator<Item = TWhiskerMin>, TWhiskerMax: DataType, WhiskerMax: IntoIterator<Item = TWhiskerMax>, TBoxMax: DataType, BoxMax: IntoIterator<Item = TBoxMax>>( &'l mut self, x: X, box_min: BoxMin, whisker_min: WhiskerMin, whisker_max: WhiskerMax, box_max: BoxMax, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D box-and-whisker plot using boxes of automatic width.
Arguments
x
- x values (center of the box)box_min
- minimum box y valuewhisker_min
- minimum whisker y valuewhisker_max
- maximum whisker y valuebox_max
- maximum box y valueoptions
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).LineWidth
- Sets the width of the borderLineStyle
- Sets the style of the borderBorderColor
- Sets the color of the borderColor
- Sets the color of the box fillFillAlpha
- Sets the transparency of the box fillWhiskerBars
- Sets the width of the whisker bars
sourcepub fn box_and_whisker_set_width<'l, Tx: DataType, X: IntoIterator<Item = Tx>, TBoxMin: DataType, BoxMin: IntoIterator<Item = TBoxMin>, TWhiskerMin: DataType, WhiskerMin: IntoIterator<Item = TWhiskerMin>, TWhiskerMax: DataType, WhiskerMax: IntoIterator<Item = TWhiskerMax>, TBoxMax: DataType, BoxMax: IntoIterator<Item = TBoxMax>, TBoxWidth: DataType, BoxWidth: IntoIterator<Item = TBoxWidth>>(
&'l mut self,
x: X,
box_min: BoxMin,
whisker_min: WhiskerMin,
whisker_max: WhiskerMax,
box_max: BoxMax,
box_width: BoxWidth,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn box_and_whisker_set_width<'l, Tx: DataType, X: IntoIterator<Item = Tx>, TBoxMin: DataType, BoxMin: IntoIterator<Item = TBoxMin>, TWhiskerMin: DataType, WhiskerMin: IntoIterator<Item = TWhiskerMin>, TWhiskerMax: DataType, WhiskerMax: IntoIterator<Item = TWhiskerMax>, TBoxMax: DataType, BoxMax: IntoIterator<Item = TBoxMax>, TBoxWidth: DataType, BoxWidth: IntoIterator<Item = TBoxWidth>>( &'l mut self, x: X, box_min: BoxMin, whisker_min: WhiskerMin, whisker_max: WhiskerMax, box_max: BoxMax, box_width: BoxWidth, options: &[PlotOption<&str>] ) -> &'l mut Self
Plot a 2D box-and-whisker plot using boxes of set width.
Arguments
x
- x values (center of the box)box_min
- minimum box y valuewhisker_min
- minimum whisker y valuewhisker_max
- maximum whisker y valuebox_max
- maximum box y valuebox_width
- width of the box (in x axis units)options
- Array of PlotOption<&str> controlling the appearance of the plot element. The relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).LineWidth
- Sets the width of the borderLineStyle
- Sets the style of the borderBorderColor
- Sets the color of the borderColor
- Sets the color of the box fillFillAlpha
- Sets the transparency of the box fillWhiskerBars
- Sets the width of the whisker bars
sourcepub fn image<'l, T: DataType, X: IntoIterator<Item = T>>(
&'l mut self,
mat: X,
num_rows: usize,
num_cols: usize,
dimensions: Option<(f64, f64, f64, f64)>,
options: &[PlotOption<&str>]
) -> &'l mut Self
pub fn image<'l, T: DataType, X: IntoIterator<Item = T>>( &'l mut self, mat: X, num_rows: usize, num_cols: usize, dimensions: Option<(f64, f64, f64, f64)>, options: &[PlotOption<&str>] ) -> &'l mut Self
Draws an image from a rectangular array of data by connecting the individual datapoints with polygons.
#Arguments:
mat
- Row-major 2D array signifying the value of the datapoints. The X and Y coordinates of the datapoints are determined automatically, and optionally scaled using thedimensions
argument.num_rows
- Number of rows in the data arraynum_cols
- Number of columns in the data arraydimensions
- Optional X and Y coordinates of the first and last data points (with the rest of the coordinates spaced evenly between). By default this will be(0, 0)
and(num_rows - 1, num_cols - 1)
.options
- Array of PlotOption<&str> controlling the appearance of the surface. Relevant options are:Caption
- Specifies the caption for this dataset. Use an empty string to hide it (default).
Trait Implementations§
source§impl AxesCommon for Axes2D
impl AxesCommon for Axes2D
source§fn set_pos_grid(&mut self, nrow: u32, ncol: u32, pos: u32) -> &mut Self
fn set_pos_grid(&mut self, nrow: u32, ncol: u32, pos: u32) -> &mut Self
source§fn set_pos(&mut self, x: f64, y: f64) -> &mut Self
fn set_pos(&mut self, x: f64, y: f64) -> &mut Self
source§fn set_aspect_ratio(&mut self, ratio: AutoOption<f64>) -> &mut Self
fn set_aspect_ratio(&mut self, ratio: AutoOption<f64>) -> &mut Self
source§fn set_x_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x_label<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
source§fn set_y_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y_label<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_label
, but for the Y axissource§fn set_x2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x2_label<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_label
, but for the secondary X axissource§fn set_y2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y2_label<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_label
, but for the secondary Y axissource§fn set_cb_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_cb_label<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_label
, but for the color barsource§fn set_title<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_title<'l>( &'l mut self, text: &str, options: &[LabelOption<&str>] ) -> &'l mut Self
source§fn label<'l>(
&'l mut self,
text: &str,
x: Coordinate,
y: Coordinate,
options: &[LabelOption<&str>]
) -> &'l mut Self
fn label<'l>( &'l mut self, text: &str, x: Coordinate, y: Coordinate, options: &[LabelOption<&str>] ) -> &'l mut Self
source§fn set_x_ticks<'l>(
&'l mut self,
tick_placement: Option<(AutoOption<f64>, u32)>,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x_ticks<'l>( &'l mut self, tick_placement: Option<(AutoOption<f64>, u32)>, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
source§fn set_y_ticks<'l>(
&'l mut self,
tick_placement: Option<(AutoOption<f64>, u32)>,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y_ticks<'l>( &'l mut self, tick_placement: Option<(AutoOption<f64>, u32)>, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks
but for the Y axis.source§fn set_x2_ticks<'l>(
&'l mut self,
tick_placement: Option<(AutoOption<f64>, u32)>,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x2_ticks<'l>( &'l mut self, tick_placement: Option<(AutoOption<f64>, u32)>, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks
but for the secondary X axis. Read moresource§fn set_y2_ticks<'l>(
&'l mut self,
tick_placement: Option<(AutoOption<f64>, u32)>,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y2_ticks<'l>( &'l mut self, tick_placement: Option<(AutoOption<f64>, u32)>, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks
but for the secondary Y axis. Read moresource§fn set_cb_ticks<'l>(
&'l mut self,
tick_placement: Option<(AutoOption<f64>, u32)>,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_cb_ticks<'l>( &'l mut self, tick_placement: Option<(AutoOption<f64>, u32)>, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks
but for the color bar axis.source§fn set_x_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>(
&'l mut self,
ticks: TL,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>( &'l mut self, ticks: TL, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
source§fn set_y_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>(
&'l mut self,
ticks: TL,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>( &'l mut self, ticks: TL, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks_custom
but for the the Y axis.source§fn set_x2_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>(
&'l mut self,
ticks: TL,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_x2_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>( &'l mut self, ticks: TL, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks_custom
but for the the secondary X axis.source§fn set_y2_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>(
&'l mut self,
ticks: TL,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_y2_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>( &'l mut self, ticks: TL, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks_custom
but for the the secondary Y axis.source§fn set_cb_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>(
&'l mut self,
ticks: TL,
tick_options: &[TickOption<&str>],
label_options: &[LabelOption<&str>]
) -> &'l mut Self
fn set_cb_ticks_custom<'l, T: DataType, S: ToString, TickT: Borrow<Tick<T, S>>, TL: IntoIterator<Item = TickT>>( &'l mut self, ticks: TL, tick_options: &[TickOption<&str>], label_options: &[LabelOption<&str>] ) -> &'l mut Self
set_x_ticks_custom
but for the the color bar axis.