From: martinahansen Date: Mon, 11 Apr 2011 09:24:22 +0000 (+0000) Subject: added persist to gnuplot commands X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f1acc635e7a6b579fb3c691b0ad2a5b26685cc43;p=biopieces.git added persist to gnuplot commands git-svn-id: http://biopieces.googlecode.com/svn/trunk@1318 74ccb610-7750-0410-82ae-013aeee3265d --- 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 );