Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

ImPlot3D

ImPlot3D: 3D plots for Dear ImGui: lines, scatter, surfaces, meshes, rotated, panned and zoomed with the mouse.

Its API follows ImPlot’s: begin_plot(), the setup_* functions, the plot_* functions, end_plot(). Run the app with immapp.run(..., with_implot3d=True), which creates ImPlot3D’s context.

In Python, the data are numpy arrays, and the arrays of one call must share their dtype (as in ImPlot).

Upstream repository · The book’s page

Modules

In imgui_bundle (from imgui_bundle import implot3d):

Demos using it

The demos of the catalog that use it (the pictures link to their code and to the playground).

Butterfly effect, in a few lines

Butterfly effect, in a few lines

Two trajectories of the Lorenz system start almost at the same point, then drift apart: chaos in action.

More

Drawn in 3D with ImPlot3D. Sliders change the system’s parameters and the gap between the two starting points; Reset starts them over.

Uses: ImPlot3D

Python: ▶︎ Run · Code
C++: ▶︎ Run · Code

ImPlot3D: the interactive manual

ImPlot3D: the interactive manual

The 3D plots of ImPlot3D, section by section, with the code of each beside it.

More

Lines, scatter, surfaces, meshes and more, in Python and C++. From Dear ImGui Explorer, the interactive manual for Dear ImGui and its libraries.

Uses: ImPlot3D

Python: ▶︎ Run · Code
C++: ▶︎ Run · Code