#pragma once // Renders a histogram using ImPlot::PlotHistogram con ejes pineados // (ver viz/plot_static.h). // Call within an ImGui frame. // bins == -1: automatic bin count via Sturges' rule. // height > 0: altura del plot en pixeles (default 200). void histogram(const char* title, const float* values, int count, int bins = -1, float height = 200.0f); void histogram(const char* title, const double* values, int count, int bins = -1, float height = 200.0f);