pub struct Figure { /* private fields */ }
Expand description

Plot container

Implementations

Creates an empty figure

Spawns a drawing child process

NOTE: stderr, stdin, and stdout are piped

Dumps the script required to produce the figure into sink

Saves the script required to produce the figure to path

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Configures an axis

The properties of what’s being configured

Configures the key (legend)

The properties of what’s being configured

The properties associated to the plot

Plots some data with some configuration

The properties associated to the plot

Plots some data with some configuration

The properties associated to the plot

Plots some data with some configuration

The properties associated to the plot

Plots some data with some configuration

Changes the box width of all the box related plots (bars, candlesticks, etc)

Note The default value is 0

Panics

Panics if width is a negative value

Changes the font

Changes the size of the font

Panics

Panics if size is a non-positive value

Changes the output file

Note The default output file is output.plot

Changes the figure size

Changes the output terminal

Note By default, the terminal is set to Svg

Sets the title

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.