How to set default terminal for gnuplot

Is there a way to set the default terminal in gnuplot? I am trying to set the default terminal for x11, but it is always aqua at startup. Thanks.

+8
gnuplot
source share
2 answers

The only way I know is to add a line to the .gnuplot file in your home directory:

 set term x11 

The commands in this file are executed before any others when gnuplot starts.

+11
source share

I can not find the .gnuplot file in my home directory. Is .gnuplot the exact file name or is it something else like xyz.gnuplot_abc?

I am using Ubuntu18.04 and gnuplot4.6. Any reply would be greatly appreciated.

0
source share

All Articles