-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repeated updating of a plot fails with gnuplot5 #60
Comments
I don't think you have demonstrated that it is repeated drawing of a plot that generates the error. Do you get the same error if you just set How did you install gnuplot? What version of P::G::G are you using, and how did you install it? Did PDL::Graphics::Gnuplot pass I don't have the qt terminal available, but I was able to successfully run your code above with the wxt terminal on gnuplot 5.0.5 and P::G::G version 2.006001 (i.e., current git master). |
The problem seems to only appear with the qt terminal. With x11, svg, png and jpeg the code works fine.
I have no idea what's going wrong :/ |
It appears that the "reset" is causing gnuplot to lose a character in the newer rc2 version. I'm putting in a workaround that sends an extra newline to the gnuplot. That should work around the issue in your case, while being harmless in other cases. Sorry it took so long to get to this. |
I can't reproduce the problem, so I'm leaving this issue open for now. |
It looks like this bug is only happening for gnuplot 5.0.0 and 5.0.1. For the affected versions, with the "send additional newlines" commit, it still dies:
I've tried to prefix the |
Given this is specific to those known versions of Gnuplot, there is not much that we can really do to fix this. Closing. |
Hi,
I need to continuously update a plot's data, which comes from a measurement setup.
A condensed example would be:
With gnuplot5 (Debian, gnuplot 5.0 patchlevel rc2) and the current CPAN version of PDL::Graphics::Gnuplot, I get this error:
If I resort to gnuplot4, it works fine.
The text was updated successfully, but these errors were encountered: