Trait gnuplot::AxesCommon [−][src]
pub trait AxesCommon: AxesCommonPrivate {}Show methods
fn set_pos_grid<'l>(
&'l mut self,
nrow: u32,
ncol: u32,
pos: u32
) -> &'l mut Self { ... } fn set_pos<'l>(&'l mut self, x: f64, y: f64) -> &'l mut Self { ... } fn set_size<'l>(&'l mut self, w: f64, h: f64) -> &'l mut Self { ... } fn set_aspect_ratio<'l>(
&'l mut self,
ratio: AutoOption<f64>
) -> &'l mut Self { ... } fn set_x_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 { ... } fn set_x2_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 { ... } fn set_cb_label<'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 { ... } fn label<'l>(
&'l mut self,
text: &str,
x: Coordinate,
y: Coordinate,
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 { ... } 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_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_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_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_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_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_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_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_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_x_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self { ... } fn set_y_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self { ... } fn set_x2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self { ... } fn set_y2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self { ... } fn set_x_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self { ... } fn set_y_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self { ... } fn set_x2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self { ... } fn set_y2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self { ... } fn set_cb_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self { ... } fn set_x_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self { ... } fn set_y_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self { ... } fn set_x2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self { ... } fn set_y2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self { ... } fn set_cb_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self { ... } fn set_x_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_x_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_y_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_y_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_x2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_x2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_y2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_y2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_cb_grid<'l>(&'l mut self, show: bool) -> &'l mut Self { ... } fn set_grid_options<'l>(
&'l mut self,
front: bool,
options: &[PlotOption<&str>]
) -> &'l mut Self { ... } fn set_minor_grid_options<'l>(
&'l mut self,
options: &[PlotOption<&str>]
) -> &'l mut Self { ... } fn set_x_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self { ... } fn set_y_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self { ... } fn set_x2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self { ... } fn set_y2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self { ... } fn set_cb_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self { ... } fn set_margins<'l>(&'l mut self, margins: &[MarginSide]) -> &'l mut Self { ... } fn set_palette(&mut self, palette: PaletteType) -> &mut Self { ... }
Provided methods
Set the position of the axes on the figure using grid coordinates.
Arguments
nrow
- Number of rows in the grid. Must be greater than 0.ncol
- Number of columns in the grid. Must be greater than 0.pos
- Which grid cell to place this axes in, counting from top-left corner, going left and then down, starting at 0.
Set the position of the axes on the figure using screen coordinates. The coordinates refer to the bottom-left corner of the axes
Arguments
x
- X position. Ranges from 0 to 1y
- Y position. Ranges from 0 to 1
fn set_aspect_ratio<'l>(&'l mut self, ratio: AutoOption<f64>) -> &'l mut Self
[src]
fn set_aspect_ratio<'l>(&'l mut self, ratio: AutoOption<f64>) -> &'l mut Self
[src]Set the aspect ratio of the axes
Arguments
ratio
- The aspect ratio. Set to Auto to return the ratio to default
fn set_x_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn set_x_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Set the label for the X axis
Arguments
text
- Text of the label. Pass an empty string to hide the labeloptions
- Array of LabelOption controlling the appearance of the label. Relevant options are:Offset
- Specifies the offset of the labelFont
- Specifies the font of the labelTextColor
- Specifies the color of the labelRotate
- Specifies the rotation of the labelAlign
- Specifies how to align the label
fn set_y_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn set_y_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Like set_x_label
, but for the Y axis
fn set_x2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn set_x2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Like set_x_label
, but for the secondary X axis
fn set_y2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn set_y2_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Like set_x_label
, but for the secondary Y axis
fn set_cb_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn set_cb_label<'l>(
&'l mut self,
text: &str,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Like set_x_label
, but for the color bar
Set the title for the axes
Arguments
text
- Text of the title. Pass an empty string to hide the titleoptions
- Array of LabelOption<&str> controlling the appearance of the title. Relevant options are:Offset
- Specifies the offset of the labelFont
- Specifies the font of the labelTextColor
- Specifies the color of the labelRotate
- Specifies the rotation of the labelAlign
- Specifies how to align the label
fn label<'l>(
&'l mut self,
text: &str,
x: Coordinate,
y: Coordinate,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]
fn label<'l>(
&'l mut self,
text: &str,
x: Coordinate,
y: Coordinate,
options: &[LabelOption<&str>]
) -> &'l mut Self
[src]Adds a label to the plot, with an optional marker.
Arguments
text
- Text of the labelx
- X coordinate of the labely
- Y coordinate of the labeloptions
- Array of LabelOption<&str> controlling the appearance of the label. Relevant options are:Offset
- Specifies the offset of the labelFont
- Specifies the font of the labelTextColor
- Specifies the color of the labelRotate
- Specifies the rotation of the labelAlign
- Specifies how to align the labelMarkerSymbol
- Specifies the symbol for the marker. Omit to hide the markerMarkerSize
- Specifies the size for the markerMarkerColor
- Specifies the color for the marker
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
[src]
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
[src]Sets the properties of the ticks on the X axis.
Arguments
tick_placement
- Controls the placement of the ticks. PassNone
to hide the ticks. Otherwise, the first tuple value controls the spacing of the major ticks (in axes units), otherwise set it toAuto
to let gnuplot decide the spacing automatically. The second tuple value specifies the number of minor ticks. For logarithmic axes, non-zero values mean that the number of ticks usually equals toceil(log_base) - 2
.tick_options
- Array of TickOption controlling the appearance of the tickslabel_options
- Array of LabelOption<&str> controlling the appearance of the tick labels. Relevant options are:Offset
- Specifies the offset of the labelFont
- Specifies the font of the labelTextColor
- Specifies the color of the labelRotate
- Specifies the rotation of the labelAlign
- Specifies how to align the label
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
[src]
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
[src]Like set_x_ticks
but for the Y axis.
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
[src]
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
[src]Like set_x_ticks
but for the secondary X axis.
Note that by default, these are hidden.
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
[src]
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
[src]Like set_x_ticks
but for the secondary Y axis.
Note that by default, these are hidden.
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
[src]
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
[src]Like set_x_ticks
but for the color bar axis.
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
[src]
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
[src]Sets ticks on the X axis with specified labels at specified positions.
Arguments
ticks
- The locations and labels of the added ticks. The label can contain a single C printf style floating point formatting specifier which will be replaced by the location of the tic.tick_options
- Array of TickOption controlling the appearance of the tickslabel_options
- Array of LabelOption<&str> controlling the appearance of the tick labels. Relevant options are:Offset
- Specifies the offset of the labelFont
- Specifies the font of the labelTextColor
- Specifies the color of the labelRotate
- Specifies the rotation of the labelAlign
- Specifies how to align the label
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
[src]
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
[src]Like set_x_ticks_custom
but for the the Y axis.
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
[src]
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
[src]Like set_x_ticks_custom
but for the the secondary X axis.
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
[src]
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
[src]Like set_x_ticks_custom
but for the the secondary Y axis.
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
[src]
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
[src]Like set_x_ticks_custom
but for the the color bar axis.
fn set_x_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]
fn set_x_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]fn set_y_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]
fn set_y_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]fn set_x2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]
fn set_x2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]Set the range of values for the secondary X axis.
Arguments
min
- Minimum X valuemax
- Maximum X value
fn set_y2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]
fn set_y2_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]Set the range of values for the secondary Y axis.
Arguments
min
- Minimum Y valuemax
- Maximum Y value
fn set_x_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]
fn set_x_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]fn set_y_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]
fn set_y_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]fn set_x2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]
fn set_x2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]Sets secondary X axis to reverse.
Arguments
reverse
- Boolean, true to reverse axis, false will not reverse
fn set_y2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]
fn set_y2_reverse<'l>(&'l mut self, reverse: bool) -> &'l mut Self
[src]Sets secondary Y axis to reverse.
Arguments
reverse
- Boolean, true to reverse axis, false will not reverse
fn set_cb_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]
fn set_cb_range<'l>(
&'l mut self,
min: AutoOption<f64>,
max: AutoOption<f64>
) -> &'l mut Self
[src]Set the range of values for the color bar axis.
Arguments
min
- Minimum Y valuemax
- Maximum Y value
Sets the X axis be logarithmic. Note that the range must be non-negative for this to be valid.
Arguments
base
- If Some, then specifies base of the logarithm, if None makes the axis not be logarithmic
Sets the Y axis be logarithmic. Note that the range must be non-negative for this to be valid.
Arguments
base
- If Some, then specifies base of the logarithm, if None makes the axis not be logarithmic
fn set_x2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]
fn set_x2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]Sets the secondary X axis be logarithmic. Note that the range must be non-negative for this to be valid.
Arguments
base
- If Some, then specifies base of the logarithm, if None makes the axis not be logarithmic
fn set_y2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]
fn set_y2_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]Sets the secondary Y axis be logarithmic. Note that the range must be non-negative for this to be valid.
Arguments
base
- If Some, then specifies base of the logarithm, if None makes the axis not be logarithmic
fn set_cb_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]
fn set_cb_log<'l>(&'l mut self, base: Option<f64>) -> &'l mut Self
[src]Sets the color bar axis be logarithmic. Note that the range must be non-negative for this to be valid.
Arguments
base
- If Some, then specifies base of the logarithm, if None makes the axis not be logarithmic
fn set_x_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_x_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_x_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_x_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_y_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_y_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_y_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_y_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_x2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_x2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_x2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_x2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_y2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_y2_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_y2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_y2_minor_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_cb_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]
fn set_cb_grid<'l>(&'l mut self, show: bool) -> &'l mut Self
[src]fn set_grid_options<'l>(
&'l mut self,
front: bool,
options: &[PlotOption<&str>]
) -> &'l mut Self
[src]
fn set_grid_options<'l>(
&'l mut self,
front: bool,
options: &[PlotOption<&str>]
) -> &'l mut Self
[src]Set the grid options.
Arguments
front
- Whether the grid should be in the front of the plot elements or behind them.options
- Styling options of the grid. Relevant options are:Color
- Specifies the color of the grid linesLineStyle
- Specifies the style of the grid linesLineWidth
- Specifies the width of the grid lines
fn set_minor_grid_options<'l>(
&'l mut self,
options: &[PlotOption<&str>]
) -> &'l mut Self
[src]
fn set_minor_grid_options<'l>(
&'l mut self,
options: &[PlotOption<&str>]
) -> &'l mut Self
[src]Set the minor grid options.
Arguments
options
- Styling options of the grid. Relevant options are:Color
- Specifies the color of the grid linesLineStyle
- Specifies the style of the grid linesLineWidth
- Specifies the width of the grid lines
fn set_x_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]
fn set_x_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]Sets the X axis be time.
If true, the axis is interpreted as seconds from the Unix epoch. Use the Format
TickOption to
specify the formatting of the ticks (see strftime format spec for valid values).
Arguments
is_time
- Whether this axis is time or not.
fn set_y_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]
fn set_y_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]Sets the Y axis be time. Note that the range must be non-negative for this to be valid.
If true, the axis is interpreted as seconds from the Unix epoch. Use the Format
TickOption to
specify the formatting of the ticks (see strftime format spec for valid values).
Arguments
is_time
- Whether this axis is time or not.
fn set_x2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]
fn set_x2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]Sets the secondary X axis be time.
If true, the axis is interpreted as seconds from the Unix epoch. Use the Format
TickOption to
specify the formatting of the ticks (see strftime format spec for valid values).
Arguments
is_time
- Whether this axis is time or not.
fn set_y2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]
fn set_y2_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]Sets the secondary Y axis be time. Note that the range must be non-negative for this to be valid.
If true, the axis is interpreted as seconds from the Unix epoch. Use the Format
TickOption to
specify the formatting of the ticks (see strftime format spec for valid values).
Arguments
is_time
- Whether this axis is time or not.
fn set_cb_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]
fn set_cb_time<'l>(&'l mut self, is_time: bool) -> &'l mut Self
[src]Sets the color bar axis be time. Note that the range must be non-negative for this to be valid.
If true, the axis is interpreted as seconds from the Unix epoch. Use the Format
TickOption to
specify the formatting of the ticks (see strftime format spec for valid values).
Arguments
is_time
- Whether this axis is time or not.
fn set_margins<'l>(&'l mut self, margins: &[MarginSide]) -> &'l mut Self
[src]
fn set_margins<'l>(&'l mut self, margins: &[MarginSide]) -> &'l mut Self
[src]Sets the margins of the plot.
Arguments
margins
- The values of margins to be overriden. Specified as a fraction of the full drawing area, ranging from 0 to 1
fn set_palette(&mut self, palette: PaletteType) -> &mut Self
[src]
fn set_palette(&mut self, palette: PaletteType) -> &mut Self
[src]