Fix labels for signal mini graph - warvox - VoIP based wardialing tool, forked from rapid7/warvox.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit f1f58cf7ea8d4f46bbcbf668b6864e852ba113e4
 (DIR) parent 9fed67e2ce275dad1db05863e6e090c4c8034407
 (HTM) Author: HD Moore <hd_moore@rapid7.com>
       Date:   Sun,  1 Mar 2009 22:56:27 +0000
       
       Fix labels for signal mini graph
       
       
       Diffstat:
         M lib/warvox/jobs/analysis.rb         |       9 ++++++---
       
       1 file changed, 6 insertions(+), 3 deletions(-)
       ---
 (DIR) diff --git a/lib/warvox/jobs/analysis.rb b/lib/warvox/jobs/analysis.rb
       @@ -124,8 +124,7 @@ class Analysis < Base
                                plotter = Tempfile.new("gnuplot")
        
                                plotter.puts("set ylabel \"Signal\"")
       -                        plotter.puts("set xlabel \"Time\"")
       -
       +                        plotter.puts("set xlabel \"Seconds\"")
                                plotter.puts("set terminal png medium size 640,480 transparent")
                                plotter.puts("set output \"#{bname}_big.png\"")
                                plotter.puts("plot \"#{datfile.path}\" using 1:2 title \"#{num}\" with lines")
       @@ -138,12 +137,16 @@ class Analysis < Base
                                plotter.puts("set output \"#{bname}_freq_big.png\"")
                                plotter.puts("plot \"#{frefile.path}\" using 1:2 title \"#{num} - Peak #{maxf.round}hz\" with lines")
        
       +                        plotter.puts("set ylabel \"Signal\"")
       +                        plotter.puts("set xlabel \"Seconds\"")
                                plotter.puts("set terminal png small size 160,120 transparent")
                                plotter.puts("set format x ''")
                                plotter.puts("set format y ''")        
                                plotter.puts("set output \"#{bname}.png\"")
                                plotter.puts("plot \"#{datfile.path}\" using 1:2 notitle with lines")
       -                                        
       +
       +                        plotter.puts("set ylabel \"Power\"")
       +                        plotter.puts("set xlabel \"Frequency\"")                                        
                                plotter.puts("set terminal png small size 160,120 transparent")
                                plotter.puts("set format x ''")
                                plotter.puts("set format y ''")