Gaston.jl icon indicating copy to clipboard operation
Gaston.jl copied to clipboard

Gaston does not seem to be working with gnuplot 5.4

Open jleman opened this issue 4 years ago • 3 comments

I tried upgrading to the latest version of gnuplot 5.4.3 (January 2022). Executing a plot function results in apparently indefinite execution. I'm using Julia versions 1.6.3 and 1.7.1 and Jupyter notebook 6.4.0. Here was my test snippet. No error message is produced, it just continues processing with no output.

using Gaston
x = 1:0.1:10
y = 1:0.1:10
plot(x,y)

jleman avatar Jan 29 '22 17:01 jleman

What OS? What is the latest version of gnuplot that works for you?

I test on Linux, and 5.4.3 works for me.

mbaz avatar Jan 30 '22 00:01 mbaz

OS is Windows 10. gnuplot version 5.2.8 works.

jleman avatar Jan 30 '22 04:01 jleman

Please try setting the terminal to windows:

set(term="windows")
plot(1:10)

Gnuplot 5.4 introduced some changes in the way they handle stdin/stdout that causes it to sometimes fail when using qt terminals. In my (limited) experience, using the windows terminal fixes this issue.

mbaz avatar Jan 30 '22 16:01 mbaz