-
Notifications
You must be signed in to change notification settings - Fork 17
Gnuplot process no longer responding when doing simple example gp.plot(x**2) #22
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
Comments
I'm guessing this has something to do with your system or gnuplot install, but that error message is really not great here. Please try this: Add |
Reading your email more closely, I maybe get a sense of what you're doing. Are you x-forwarding over ssh? Is it slow and/or broken? What if you run "xeyes"? Does it work? |
It is not slow, and I don't do any X forwarding. I didn't know that Gnuplot requires X to be enabled. I was hoping to be able to just print plots in a terminal without any GUI. |
Gnuplot has plenty of backends that don't require X, but by default it tries to produce an interactive, graphical plot, which does use X. You want the "dumb" terminal. Do this:
I would like to improve the error message, though. Can you please run "gnuplot" and then do "plot x"? It will presumably fail, but I'd like to know if it hangs or reports an error or what. And it you can tell me what "show terminal" says, that'd be super. |
Python 3.7, running an example script in tmux through ssh.
Aslo tried passing
gp.plot(x**2, ascii=True)
with no success.Always get an error.
The text was updated successfully, but these errors were encountered: