1
votes

I was using gnuplot to plot and draw graphs before with my school laptop. Now I start using another PC which also has gnuplot software.

But when I command >gnuplot, it shows

terminal type set to "unknown"

and I cannot plot. It does not show any error but just no graph appears.

How can I set my gnuplot so that I can plot again.

1

1 Answers

3
votes

You will need to set a valid terminal. I'm not sure what causes it to be set to "unknown".

Typing set terminal will give you a list of all terminals. Pick the one that you want to use and type set terminal terminal_name where terminal_name is the name of the terminal that you want.

For instance, on Windows, I use the wxt terminal; to set it to this one, you would type set terminal wxt.