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

Increase H errors to highlight them

This commit is contained in:
Adriano Parisi 2020-06-08 00:19:14 +01:00
parent ef549d1ab5
commit 47bb805348

View File

@ -285,7 +285,7 @@ void ShowDemoWindow(bool* p_open) {
t_float bar[5] = {1,2,5,3,4};
t_float err1[5] = {0.2f, 0.4f, 0.2f, 0.6f, 0.4f};
t_float err2[5] = {0.4f, 0.2f, 0.4f, 0.8f, 0.6f};
t_float err3[5] = {0.02f, 0.04f, 0.05f, 0.03f, 0.06f};
t_float err3[5] = {0.09f, 0.14f, 0.09f, 0.12f, 0.16f};
ImPlot::SetNextPlotLimits(0, 6, 0, 10);
if (ImPlot::BeginPlot("##ErrorBars",NULL,NULL)) {
ImPlot::PlotBars("Bar", xs, bar, 5, 0.5f);