OSDN Git Service

specify size
authortkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 4 Nov 2009 11:57:32 +0000 (11:57 +0000)
committertkaneko <tkaneko@b8c68f68-1e22-0410-b08e-880e1f8202b4>
Wed, 4 Nov 2009 11:57:32 +0000 (11:57 +0000)
utils/eval_graph.rb

index 59e1f06..fbf42fe 100755 (executable)
@@ -207,7 +207,7 @@ def plot(csa_file, title, black, white, a_play_time)
   width = [black.comments.size, white.comments.size].max * 2 + 1
   Gnuplot.open do |gp|
     Gnuplot::Plot.new( gp ) do |plot|
   width = [black.comments.size, white.comments.size].max * 2 + 1
   Gnuplot.open do |gp|
     Gnuplot::Plot.new( gp ) do |plot|
-      plot.terminal "svg" # or png
+      plot.terminal "svg size 800 500 fixed" # or png
       plot.output   to_svg_file(csa_file)
       
       plot.title  title
       plot.output   to_svg_file(csa_file)
       
       plot.title  title