No description
Find a file
2020-08-23 20:31:28 +02:00
implot-examples Added text plot support 2020-08-23 20:31:28 +02:00
implot-sys Refactored Plot building, various example updates 2020-08-08 14:42:22 +02:00
implot-sys-bindgen Added a separate bindgen building crate and pre-generated bindings 2020-08-03 21:50:03 +02:00
src Added text plot support 2020-08-23 20:31:28 +02:00
.gitattributes Found linguist-generated, using that instead 2020-08-04 22:15:41 +02:00
.gitignore Initial commit 2020-07-01 19:40:18 +02:00
.gitmodules Added submodule for cimplot and some build code 2020-07-02 21:15:22 +02:00
Cargo.toml Added axis and plot flag support 2020-08-23 20:10:24 +02:00
demo.png Updated readme, renamed example 2020-08-08 16:01:51 +02:00
LICENSE Initial commit 2020-07-01 19:40:18 +02:00
README.md Added text plot support 2020-08-23 20:31:28 +02:00

implot-rs

Rust bindings for ImPlot, built by running bindgen on cimplot.

demo

Requirements

imgui-rs requires minimum Rust version 1.40, so this project does as well by extension. Currently the master branch of imgui-rs is used as a dependency until https://github.com/Gekkio/imgui-rs/pull/339 makes it into a release.

The sys crate compiles implot, so a C++ compiler will also be required.

Status

Currently a work in progress. The author is open to collaboration, if you'd like to help, feel free to reach out via a Github issue.

At this point, raw bindings are working in implot-sys, and more idiomatic interfaces for plot creation as well as adding lines to plots are implemented. Everything else is still being built.

  • "BeginPlot"
    • Basic hello world
    • Plot flags
  • Plotting functionality
    • Line plot
    • Text plot
    • Scatter plot
    • Bar plot
      • Vertical
      • Horizontal
    • Error bar plot
      • Vertical
      • Horizontal
    • Heatmap
    • Pie chart
    • Digital data
  • Plot customization
    • Enums
      • Axis flags
      • Markers
      • Styling colors
      • Styling variables
      • Colormaps
  • Plot querying
    • is hovered
    • mouse position
    • mouse limits
    • is queried
    • GetPlotQuery
  • Utils
    • Plot limit setting
    • Plot tick setting
    • Plot y axis setting for subsequent elements
    • plot position and size reading
    • Pixel to plot position
    • Plot to pixel position
    • Push/pop plotclip rect (?)