From 33f62a843829b3ded5dd6ba05596a19a7e454827 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Tue, 15 Sep 2009 12:13:59 -0700 Subject: [PATCH] only set X11 terminal if we're not making a hardcopy Ignore-this: 72ff2e9c96debe696944ad584eec32fd darcs-hash:20090915191359-0cb85-21cb3091eedfb7c69818028340b89f050e4fea7e.gz --- driveGnuPlots.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/driveGnuPlots.pl b/driveGnuPlots.pl index 21ef92d..1162628 100755 --- a/driveGnuPlots.pl +++ b/driveGnuPlots.pl @@ -134,8 +134,11 @@ sub mainThread { $temphardcopyfile = "/tmp/$temphardcopyfile"; print PIPE "set output \"$temphardcopyfile\"\n"; } + else + { + print PIPE "set terminal x11\n"; + } - print PIPE "set terminal x11\n"; print PIPE "set xtics\n"; if($options{"y2"}) {