Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running gnuplot without popup/graphics

225 views
Skip to first unread message

ilmsantos

unread,
Nov 17, 2010, 3:01:58 PM11/17/10
to
Hi,

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

Hans-Bernhard Bröker

unread,
Nov 17, 2010, 3:16:18 PM11/17/10
to
On 17.11.2010 21:01, ilmsantos wrote:

> 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.

ilmsantos

unread,
Nov 17, 2010, 4:06:22 PM11/17/10
to
On Nov 17, 12:16 pm, Hans-Bernhard Bröker <HBBroe...@t-online.de>
wrote:

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?

Hans-Bernhard Bröker

unread,
Nov 17, 2010, 4:50:03 PM11/17/10
to
On 17.11.2010 22:06, ilmsantos wrote:

> 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.

Tonton Th

unread,
Nov 18, 2010, 7:08:50 AM11/18/10
to
On 11/17/2010 10:06 PM, ilmsantos wrote:

> 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/


ilmsantos

unread,
Dec 15, 2010, 5:39:51 PM12/15/10
to

Thank you all for the help. I was able to use the 'set term gif ..."

0 new messages