---
name: scatter_plot
kind: component
lang: cpp
domain: viz
version: "1.0.0"
purity: pure
signature: "void scatter_plot(const char* title, const float* xs, const float* ys, int count)"
description: "Renderiza un grafico de dispersion usando ImPlot dentro de un frame ImGui"
tags: [implot, chart, visualization, gpu, scatter]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: ""
imports: [implot]
tested: false
tests: []
test_file_path: ""
file_path: "cpp/functions/viz/scatter_plot.cpp"
framework: imgui
params:
  - name: title
    desc: "Titulo del grafico scatter"
  - name: xs
    desc: "Array de coordenadas X"
  - name: ys
    desc: "Array de coordenadas Y"
  - name: count
    desc: "Numero de puntos en los arrays xs/ys"
output: "Renderiza el grafico de dispersion en el frame ImGui actual"
---

# scatter_plot

Wrapper atomico sobre `ImPlot::PlotScatter`. Renderiza un grafico de dispersion 2D.

Debe llamarse dentro del render callback de `fn::run_app`.
