I am using a perl script with embedded gnuplot commands to generate
multiple plot-picture files at every time step. I would like to know
how do I prevent the gnuplot plot window from popping up every time
step. It's annoying.
Thanks
-Israel
> I am using a perl script with embedded gnuplot commands to generate
> multiple plot-picture files at every time step. I would like to know
> how do I prevent the gnuplot plot window from popping up every time
> step.
Hard to tell if you don't show as much as single line of actual gnuplot
commands. The only reason for a plot window to pop up generally is a
plot command issued by you, with the terminal (still) set to the default
GUI driver. So don't do that.
Thank you for your response. I am bit confused. In order for me to
generate the plots and make picture files from these, I need to issue
the plot command. How do I prevent the plot window? Or is there a way
(using gnuplot) to generate plot files without the plot command?
> Thank you for your response. I am bit confused. In order for me to
> generate the plots and make picture files from these, I need to issue
> the plot command. How do I prevent the plot window? Or is there a way
> (using gnuplot) to generate plot files without the plot command?
Setting aside "splot": of course not. But you read only half may
sentence: "plot command issued by you, with the terminal (still) set to
the default GUI driver".
And since you again didn't show any actual commands, that's about as
much as can be said about it.
> Thank you for your response. I am bit confused. In order for me to
> generate the plots and make picture files from these, I need to issue
> the plot command. How do I prevent the plot window? Or is there a way
> (using gnuplot) to generate plot files without the plot command?
tth@plop:~/Essais$ cat sinus.gplot
set term dumb 60 20
set output "sinus.txt"
plot sin(x)
tth@plop:~/Essais$ gnuplot sinus.gplot
tth@plop:~/Essais$ cat sinus.txt
1 ++----------**-----------+--**-------+-----***--++
+ * * + * * sin(x) ****** +
0.8 ++ * * * * * * ++
0.6 ++ * * * * * * ++
* * * * * * * |
0.4 *+ * * * * * *++
0.2 +* * * * * * *++
|* * * * * * *|
0 +* * * * * * *+
| * * * * * * *|
-0.2 ++* * * * * * +*
-0.4 ++* * * * * * +*
| * * * * * * *
-0.6 ++ * * * * * * ++
-0.8 ++ * * * * * * ++
+ * * + * * + * * +
-1 ++--***-----+-------**---+----------**----------++
-10 -5 0 5 10
An if you want a picture file :
set term gif
set output "sinus.gif"
plot sin(x)
* POPUP FREE :) *
--
Ma coiffeuse est formidable - http://sonia.buvette.org/
Thank you all for the help. I was able to use the 'set term gif ..."