]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/plot_stacked_histogram
added ugly fix to ruby gnuplot dumb print problem
[biopieces.git] / bp_bin / plot_stacked_histogram
index 54293ca585cfe36dff3b51faadc8d0e331076d99..432d097a78eddb912c0faff97b0a07f9847f1d41 100755 (executable)
@@ -127,7 +127,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.ytics    "out"
     plot.auto     "fix"
     plot.key      "outside right top vertical Left reverse enhanced autotitles columnhead nobox"