pub enum ErrorBar<X, Y, L, H> {
    XErrorBars {
        x: X,
        y: Y,
        x_low: L,
        x_high: H,
    },
    XErrorLines {
        x: X,
        y: Y,
        x_low: L,
        x_high: H,
    },
    YErrorBars {
        x: X,
        y: Y,
        y_low: L,
        y_high: H,
    },
    YErrorLines {
        x: X,
        y: Y,
        y_low: L,
        y_high: H,
    },
}
Expand description

Asymmetric error bar plots

Variants

XErrorBars

Fields

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

x_low: L

X coordinate of the left end of the error bar

x_high: H

Y coordinate of the right end of the error bar

Horizontal error bars

XErrorLines

Fields

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

x_low: L

X coordinate of the left end of the error bar

x_high: H

Y coordinate of the right end of the error bar

Horizontal error bars, where each point is joined by a line

YErrorBars

Fields

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

y_low: L

Y coordinate of the bottom of the error bar

y_high: H

Y coordinate of the top of the error bar

Vertical error bars

YErrorLines

Fields

x: X

X coordinate of the data points

y: Y

Y coordinate of the data points

y_low: L

Y coordinate of the bottom of the error bar

y_high: H

Y coordinate of the top of the error bar

Vertical error bars, where each point is joined by a line

Trait Implementations

The properties associated to the plot

Plots some data with some configuration

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 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.