Fixed plot.rb