From: martinahansen Date: Tue, 3 May 2011 12:46:45 +0000 (+0000) Subject: made plot_scores 1-based X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=05308d71606c3ae9215d6176f95ce1a9341cb185;p=biopieces.git made plot_scores 1-based git-svn-id: http://biopieces.googlecode.com/svn/trunk@1359 74ccb610-7750-0410-82ae-013aeee3265d --- diff --git a/bp_bin/plot_scores b/bp_bin/plot_scores index 337ce0a..4ddd7b3 100755 --- a/bp_bin/plot_scores +++ b/bp_bin/plot_scores @@ -67,7 +67,7 @@ x = [] y = [] (0 ... sum_hash.size).each do |i| - x << i + x << i + 1 y << sum_hash[i].to_f / count_hash[i].to_f end