diff --git a/README.md b/README.md index b268dfa..a8d4b45 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ ImPlot is an immediate mode plotting widget for [Dear ImGui](https://github.com/ - mix/match multiple plot items on a single plot - configurable axes ranges and scaling (linear/log) - reversible and lockable axes +- support for up to three independent y-axes - controls for zooming, panning, box selection, and auto-fitting data - controls for creating persistent query ranges (see demo) - several plot styling options: 10 marker types, adjustable marker sizes, line weights, outline colors, fill colors, etc. @@ -66,6 +67,10 @@ A: Yes. Plot colors, palettes, and various styling variables can be pushed/poppe A: Yep! +**Q: Does ImPlot support multiple y-axes? x-axes?** + +A: Yes to y-axes (up to three), "not yet" to x-axes. + **Q: Does ImPlot support [insert plot type]?** A: Maybe. Check the gallery and demo to see if your desired plot type is shown. If not, consider submitting an issue or better yet, a PR! diff --git a/implot.cpp b/implot.cpp index 546250d..b3e6328 100644 --- a/implot.cpp +++ b/implot.cpp @@ -50,8 +50,8 @@ You can read releases logs https://github.com/epezent/implot/releases for more d #endif -#include "implot.h" -#include "imgui_internal.h" +#include +#include #define IM_NORMALIZE2F_OVER_ZERO(VX, VY) \ { \ diff --git a/implot.h b/implot.h index 2e18c5a..d2f9b11 100644 --- a/implot.h +++ b/implot.h @@ -23,7 +23,7 @@ // ImPlot v0.2 WIP #pragma once -#include "imgui.h" +#include //----------------------------------------------------------------------------- // Basic types and flags diff --git a/implot_demo.cpp b/implot_demo.cpp index 1c87d99..611d046 100644 --- a/implot_demo.cpp +++ b/implot_demo.cpp @@ -26,7 +26,7 @@ #pragma warning (disable: 4996) // 'This function or variable may be unsafe': strcpy, strdup, sprintf, vsnprintf, sscanf, fopen #endif -#include "implot.h" +#include #include #include #include