Skip to content
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

Gaston does not seem to be working with gnuplot 5.4 #172

Open
jleman opened this issue Jan 29, 2022 · 3 comments
Open

Gaston does not seem to be working with gnuplot 5.4 #172

jleman opened this issue Jan 29, 2022 · 3 comments

Comments

@jleman
Copy link

jleman commented Jan 29, 2022

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)
@mbaz
Copy link
Owner

mbaz commented Jan 30, 2022

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

I test on Linux, and 5.4.3 works for me.

@jleman
Copy link
Author

jleman commented Jan 30, 2022

OS is Windows 10. gnuplot version 5.2.8 works.

@mbaz
Copy link
Owner

mbaz commented Jan 30, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants