Replies: 1 comment 2 replies
-
I noticed that if I enable the 'Anti-Aliased Lines' for the plot, the problem goes away. Here a demo of that. Peek.2021-04-29.09-18.mp4This seems to work for Line Plots, but only partly for Shaded Plots. In other words, it is not a complete solution. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know this might not be an ImPlot issue, but I hope to get some insight on where to look for solutions.
I'm trying to create a python binding for the ImPlot. I'm building on top of pyimgui concepts. So far I have made some good progress but I am experiencing some strange artifacts in some of the plots.
In the video below I'm running both ImGui plots and ImPlot plots; both from demo widgets.
Peek.2021-04-23.10-46.mp4
One can notice the strange plotting on the left hand side (ImPlot plots), while the right hand side (ImGui plot) looks OK. This is just to put some context around what works for me at the moment.
Couple of other things I noticed. The Scatter plot looks OK, if I zoom in/out there is no artifacts seen. Bar plot also looks OK (can not zoom there).
Other ploy types, on the other hand, like Infinite lines, Stem plots, Error bars, Shadded and others do experience the similar problems as seen in the video.
FWIW, I'm doing this on the Linux OS, glfw3 and opengl. I use
#define ImDrawIdx unsigned int
in theimconfig.h
.Any insights on what is going on really appreciated!
Beta Was this translation helpful? Give feedback.
All reactions