Struct implot::PlotHeatmap[][src]

pub struct PlotHeatmap { /* fields omitted */ }
Expand description

Struct to provide functionality for creating headmaps.

Implementations

Create a new heatmap to be shown. Uses the same defaults as the C++ version (see code for what those are), aside from the scale_min and scale_max values, which default to None, which is interpreted as “automatically make the scale fit the data”. Does not draw anything yet.

Specify the scale for the shown colors by minimum and maximum value.

Specify the label format for hovered data points.. None means no label is shown.

Specify the drawing area as the lower left and upper right point

Plot the heatmap, with the given values (assumed to be in row-major order), number of rows and number of columns.

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