For information on the original imgui-go go here
This library is a Go wrapper for ImPlot, merged into a fork of imgui-go which wraps Dear ImGui.
It currently targets ImPlot v0.13
with imgui-go v4.5.0
(which wraps Dear ImGui v1.85
).
It has similar goals compared to inkyblackness's imgui-go wrapper:
- hand-crafted
- documented
- feature-complete
- versioned
- with examples (living in another repo here)
ImPlot-go is merged with a fork of ImGui-go because of the way Go links C/C++ libraries. Basically, Go/GC links every package into a standalone .so library, before linking them staticly to somehow get the final executable. The symbols are somehow again deduplicated (?), and with system libraries this is perfectly fine.
But, because of that, for ImPlot to reach into ImGui, they must be built together.
I just rm -rf
ed what I've been working on for a whole day. Don't ever do that. - 2022/02/19
This is very much work in progress, here is a list from the Table of Contents of implot.h:
- Contexts
- Begin/End Plot
- Begin/End Subplot
- Setup
- SetNext
- Plot Items
- Plot Tools
- Plot Utils
- Legend Utils
- Drag and Drop
- Styling (& SetNextXXXStyle)
- Colormaps
- Input Mapping
- Miscellaneous