Error message: messed up commands?
PetrKryslUCSD opened this issue · 5 comments
I tend to see these kinds of error messages when I plot, close the terminal, and plot again:
GNUPLOT (default) -> gnuplot> r
GNUPLOT (default) -> ^
GNUPLOT (default) -> line 843: invalid command
GNUPLOT (default) -> gnuplot> eset session
GNUPLOT (default) -> ^
GNUPLOT (default) -> line 843: invalid command
Is there some sort of reset command that I can use to eliminate these errors?
This seems to do the trick:
Gnuplot.exec("reset session")
I'm not sure if this is the right way, though. Any thoughts?
@PetrKryslUCSD Are you on windows? I ask because it's a known problem on that platform; see for example mbaz/Gaston.jl#136 (you need to scroll down towards the middle of the thread) or #29. The best solution I've found is to set your terminal to "windows".
I can confirm that switching to the "windows" terminal makes the problem go away. Thanks!
Sorry for the very late reply. I can't reproduce the issue on Linux.
Please consider closing the issue if you found the solution on windows.
Well, I fixed it on Windows by selecting the terminal "windows". I don't know if that is equivalent to fixing the issue, or simply finding a workaround.