Ubuntu – cannot plot graph in gnuplot-x11

gnuplot

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.

Best Answer

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