From c8e1f0d86e06962b3384397c89a509cb05bd9e98 Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Mon, 27 Apr 2020 17:21:40 -0500 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7208a13..3a21f13 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Consult `implot_demo.cpp` for a comprehensive example of ImPlot's features. ## Integration -Just add `implot.h`, `implot.cpp`, and optionally `implot_demo.cpp` to your sources. This assumes you already have an ImGui-ready environment. If not, consider trying [mahi-gui], which bundles ImGui, ImPlot, and several other packages for you. +Just add `implot.h`, `implot.cpp`, and optionally `implot_demo.cpp` to your sources. This assumes you already have an ImGui-ready environment. If not, consider trying [mahi-gui](https://github.com/mahilab/mahi-gui), which bundles ImGui, ImPlot, and several other packages for you. ## Special Notes - By default, no anti-aliasing is done on line plots for performance reasons. My apps use 4X MSAA, so I didn't see any reason to waste cycles on software AA. However, you can enable AA with the `ImPlotFlags_AntiAliased` flag. From 8fa6c07f38198252d46aebccc65c2346b03ea82a Mon Sep 17 00:00:00 2001 From: Evan Pezent Date: Mon, 27 Apr 2020 20:02:49 -0500 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3a21f13..a38ce3b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The API is used just like any other ImGui `Begin`/`End` function. First, start a ```cpp if (ImGui::BeginPlot("My Plot")) { - ImGui::Plot("My Line Plot", x_data y_data, 1000); + ImGui::Plot("My Line Plot", x_data, y_data, 1000); ImGui::PlotBar("My Bar Plot", values, 10); ... ImGui::EndPlot();