mee mee
mee mee

Reputation: 557

How to set up my Gnuplot for plotting

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.

Upvotes: 1

Views: 1893

Answers (1)

Matthew
Matthew

Reputation: 7590

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.

Upvotes: 3

Related Questions