Enum gnuplot::Coordinate[][src]

pub enum Coordinate {
    Graph(f64),
    Axis(f64),
    Axis2(f64),
}
Expand description

Specifies how to interpret the coordinate passed to a plotting command

Variants

Graph(f64)

Coordinates are done relative to a graph (i.e. an axis set). (0, 0) is the bottom left corner and (1, 1) is the top right corner. You’d use this to place labels and other objects so that they remain in the same place relative to the graph no matter what you have plotted.

Axis(f64)

Coordinates match those on the axes. You’d use this to place labels and other objects relative to regions of interest in the graph (e.g. labeling the peak of a function)

Axis2(f64)

Coordinates match those on the secondary axes. You’d use this to place labels and other objects relative to regions of interest in the graph (e.g. labeling the peak of a function)

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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

Converts the given value to a String. 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.