ImPlot is a Dear ImGui extension for real-time interactive plots with line, bar, scatter, heatmap, histogram, and pie chart types. It avoids GUI state ownership and ships with styling tied to ImGui themes.
Overview
ImPlot targets applications that already embed Dear ImGui and need fast, in-app charts. You open plots with BeginPlot, draw series through PlotLine-style calls, and close with EndPlot similar to other ImGui panels.
Multiple series can share axes, including secondary X and Y axes, log scaling, time-formatted axes, legends, and query ranges. Subplots arrange several charts in one view.
GPU acceleration backs rendering, and the library accepts many numeric scalar types via strided getters. Demos in implotdemo.cpp and an online demo illustrate styling, markers, colormaps, and interaction controls.
ImPlot is aimed at live diagnostics rather than publication graphics; documentation steers export workflows toward external tools when print-quality output is required.
Key features
- Line bar scatter and heat plots
- Subplots and dual axes
- Log and time axis formats
- Legends zoom pan box select
- ImGui theme aware styling
- Built-in colormaps and markers
Use cases
- Debug signals in ImGui tools
- Visualize telemetry in games
- Prototype data dashboards
- Interactive lab instrument UIs