]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/plot_scores
added ugly fix to ruby gnuplot dumb print problem
[biopieces.git] / bp_bin / plot_scores
index 8cc276d2f0e81055e2641bda2c0f683e183b4f94..a765cb5bd3603d4d8c89913f7cc03370235d213a 100755 (executable)
@@ -85,7 +85,7 @@ Gnuplot.open do |gp|
     plot.title    options[:title]
     plot.xlabel   options[:xlabel]
     plot.ylabel   options[:ylabel]
-    plot.output   options[:data_out] if options[:data_out]
+    plot.output   options[:data_out] || "/dev/stderr"
     plot.xrange   "[#{x.min - 1}:#{x.max + 1}]"
     plot.yrange   "[#{Seq::SCORE_MIN}:#{Seq::SCORE_MAX}]"
     plot.style    "fill solid 0.5 border"