]> git.donarmstrong.com Git - biopieces.git/commitdiff
added persist to gnuplot commands
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 11 Apr 2011 09:24:22 +0000 (09:24 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Mon, 11 Apr 2011 09:24:22 +0000 (09:24 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1318 74ccb610-7750-0410-82ae-013aeee3265d

code_perl/Maasha/Plot.pm

index 06a401fdc49efc4b23b7b1b701f4ba743f3dc42e..06b83925ce1a64adb9b2eac0d6d812d3cc2d17e6 100644 (file)
@@ -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 );