void UI::Plot::PlotHeatmap(const string&in label_id, const float[]@ values, int rows, int cols, double scale_min = 0.0, double scale_max = 0.0, const string&in label_fmt = "%.1f", const vec2&in bounds_min = vec2 ( ), const vec2&in bounds_max = vec2 ( 1 , 1 ), int flags = UI::Plot::HeatmapFlags::None)
Plots a 2D heatmap chart.
string
label_id
const float[]@
values
Expected to be in row-major order by default.
int
rows
int
cols
double
scale_min
Leave this at 0 for automatic color scaling, or set to a predefined range minimum.
double
scale_max
Leave this at 0 for automatic color scaling, or set to a predefined range maximum.
string
label_fmt
Can be set to an empty string for no labels.
vec2
bounds_min
vec2
bounds_max
int
flags