From f1acc635e7a6b579fb3c691b0ad2a5b26685cc43 Mon Sep 17 00:00:00 2001 From: martinahansen Date: Mon, 11 Apr 2011 09:24:22 +0000 Subject: [PATCH] added persist to gnuplot commands git-svn-id: http://biopieces.googlecode.com/svn/trunk@1318 74ccb610-7750-0410-82ae-013aeee3265d --- code_perl/Maasha/Plot.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code_perl/Maasha/Plot.pm b/code_perl/Maasha/Plot.pm index 06a401f..06b8392 100644 --- a/code_perl/Maasha/Plot.pm +++ b/code_perl/Maasha/Plot.pm @@ -80,7 +80,7 @@ sub lineplot_simple $options->{ "terminal" } ||= "dumb"; - $cmd = "gnuplot"; + $cmd = "gnuplot -persist"; $pid = open2( $fh_out, $fh_in, $cmd ); @@ -141,7 +141,7 @@ sub histogram_simple $options->{ "terminal" } ||= "dumb"; - $cmd = "gnuplot"; + $cmd = "gnuplot -persist"; $pid = open2( $fh_out, $fh_in, $cmd ); @@ -223,7 +223,7 @@ sub histogram_lendist $xtic_space = 50000; } - $cmd = "gnuplot"; + $cmd = "gnuplot -persist"; $pid = open2( $fh_out, $fh_in, $cmd ); @@ -281,7 +281,7 @@ sub histogram_chrdist $options->{ "terminal" } ||= "dumb"; - $cmd = "gnuplot"; + $cmd = "gnuplot -persist"; $pid = open2( $fh_out, $fh_in, $cmd ); -- 2.39.5