47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.7 KiB
1.7 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, tested, tests, test_file_path, file_path, framework, params, output, notes
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | tested | tests | test_file_path | file_path | framework | params | output | notes | |||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| histogram | component | cpp | viz | 1.1.0 | pure | void histogram(const char* title, const float* values, int count, int bins = -1, float height = 200.0f) | Histograma con bins automaticos, ejes lock (con AutoFit para bins dinamicos) y altura explicita |
|
|
false |
|
false | cpp/functions/viz/histogram.cpp | imgui |
|
Renderiza el histograma en el frame ImGui actual | scaffolding/demo en primitives_gallery |
histogram
Wrapper atomico sobre ImPlot::PlotHistogram con seleccion automatica del numero de bins.
v1.1
- Altura explicita (
height). - Ejes con Lock + AutoFit: a diferencia de bar_chart/line_plot/scatter_plot, histogram necesita el primer fit para decidir limites segun los bins calculados internamente por ImPlot.
AutoFithace ese ajuste peroLockbloquea pan/zoom posterior. - Resto de flags estaticos via
plot_static::kPlotFlags.
Cuando bins == -1 usa ImPlotBin_Sturges (ceil(log2(n)) + 1).