X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_bin%2Fplot_scores;h=a765cb5bd3603d4d8c89913f7cc03370235d213a;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=915dd34aa3e42475cc8155ceab444b2b1b5f1d3a;hpb=8bf958c931357441fca189e45986285e2d1f2476;p=biopieces.git diff --git a/bp_bin/plot_scores b/bp_bin/plot_scores index 915dd34..a765cb5 100755 --- a/bp_bin/plot_scores +++ b/bp_bin/plot_scores @@ -45,7 +45,7 @@ casts << {:long=>'ylabel', :short=>'Y', :type=>'string', :mandatory=>false, : options = Biopieces.options_parse(ARGV, casts) -SCORES_MAX = 10_000 +SCORES_MAX = 100_000 scores_vec = NArray.int(SCORES_MAX) count_vec = NArray.int(SCORES_MAX) @@ -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"