Open MikeGitb opened 2 years ago
I am also seeing this identical problem with a custom debug build from trunk and also a package release build from vcpkg.
So I reinstalled gnuplot and then set the GNUTERM to use "windows" and I no longer have this issue.
I tried to explicitly set QT previously, but had the same issue as whatever was default on the first install.
Looks like I get a similar issue if I try to save an image instead of just showing the plot.
gnuplot> t output "plot.png" ^ line 22: invalid command
‰PNG → IHDR☻€☺☻º³K³♠bKGDÿÿÿ ½§“§óIDATxœíݱo[åÞÀñ§´—Fê€Å¶
That's intended behavior because they're errors. At most, we could have a flag in the backend to turn that off.
@alandefreitas : What is intended behavior?
That's intended behavior because they're errors. At most, we could have a flag in the backend to turn that off.
Alan, I'm getting this error when I copy your code from your "Saving Programatically" page. It keeps me from saving the image. So, the sample code shown on your page doesn't work. If there are errors here, how do we go about saving in a way that doesn't produce these errors?
Bug category
Describe the bug
I have a similar problem as https://github.com/alandefreitas/matplotplusplus/issues/27. In my case it seems that another command is split (see repro). However the plot is displayed correctly (best I can tell) I should mention that I'm using th version from vcpkg, which seems to be about a year old (package version is given as 2021-04-11#5).
Steps to Reproduce Compiling the following program
In visual studio 2022 (cmake project via "open folder" and using vcpkg in maifest mode to get matplotlplusplus)
Output
Platform
Environment Details:
Additional context
When I start gnuplot manually, I get the following output: