1
0
Fork 0
mirror of https://github.com/gwm17/implot.git synced 2024-10-09 15:47:26 -04:00

Update README.md

This commit is contained in:
Evan Pezent 2020-04-27 20:02:49 -05:00 committed by GitHub
parent c8e1f0d86e
commit 8fa6c07f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();