| Fix labels for signal mini graph - warvox - VoIP based wardialing tool, forked … | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit f1f58cf7ea8d4f46bbcbf668b6864e852ba113e4 | |
| parent 9fed67e2ce275dad1db05863e6e090c4c8034407 | |
| Author: HD Moore <[email protected]> | |
| 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(-) | |
| --- | |
| 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 tra… | |
| plotter.puts("set output \"#{bname}_big.png\"") | |
| plotter.puts("plot \"#{datfile.path}\" using 1:2 title… | |
| @@ -138,12 +137,16 @@ class Analysis < Base | |
| plotter.puts("set output \"#{bname}_freq_big.png\"") | |
| plotter.puts("plot \"#{frefile.path}\" using 1:2 title… | |
| + plotter.puts("set ylabel \"Signal\"") | |
| + plotter.puts("set xlabel \"Seconds\"") | |
| plotter.puts("set terminal png small size 160,120 tran… | |
| plotter.puts("set format x ''") | |
| plotter.puts("set format y ''") | |
| plotter.puts("set output \"#{bname}.png\"") | |
| plotter.puts("plot \"#{datfile.path}\" using 1:2 notit… | |
| - | |
| + | |
| + plotter.puts("set ylabel \"Power\"") | |
| + plotter.puts("set xlabel \"Frequency\"") … | |
| plotter.puts("set terminal png small size 160,120 tran… | |
| plotter.puts("set format x ''") | |
| plotter.puts("set format y ''") |