]> git.donarmstrong.com Git - biopieces.git/commitdiff
made plot_scores 1-based
authormartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 3 May 2011 12:46:45 +0000 (12:46 +0000)
committermartinahansen <martinahansen@74ccb610-7750-0410-82ae-013aeee3265d>
Tue, 3 May 2011 12:46:45 +0000 (12:46 +0000)
git-svn-id: http://biopieces.googlecode.com/svn/trunk@1359 74ccb610-7750-0410-82ae-013aeee3265d

bp_bin/plot_scores

index 337ce0af0b853ce63f6d7c687299fee7429b50eb..4ddd7b35fba502e078bfaff4ace3b0606204e366 100755 (executable)
@@ -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