1

I am using gnuplot under ubuntu 12.04. When i type in terminal :

Terminal Type Set to 'unknown'
gnuplot> plot sin(x)

it only shows next step:

gnuplot> 

but it doesn't show the graph plotting windows. What can I do to find the problem? I have already installed gnuplot-x11. It is showing that the latest version is installed.

Eric Carvalho
  • 54,385
Anindya
  • 11
  • 1
  • 5

2 Answers2

2

The problem seems to be that "unknown".

Here says the same as you said you have, install gnuplot-x11 : Not able to get graphs on screen with gnuplot

Maybe trying to do a reconfiguration of the package?

sudo apt-get purge gnuplot*
sudo apt-get install gnuplot-x11
Leo
  • 3,654
  • 2
  • 20
  • 36
  • ...and removing $HOME/.gnuplot* files could help. He/She may have some strange configuration there. http://stackoverflow.com/questions/1200463/gnuplot-configuration-file – Rmano Feb 14 '14 at 17:17
1

Try uninstalling gnuplot-nox.

sudo apt-get purge gnuplot-nox

It works for me and automatically installed gnuplot-x11 libwxbase2.8-0 libwxgtk2.8-0.

Daniel Ma
  • 11
  • 1
  • This may be a valid answer (I don't know.), but it could use a bit more detail. How do you know that the nox version is installed? Will the plot command "just work" as is once nox is removed? Usually, uninstalling one package doesn't ensure that another version will automatically replace it unless removing/purging it leaves unmet dependencies. – Joe Oct 07 '14 at 02:12