Mailing List Archive

svn commit: r329635 - /spamassassin/trunk/masses/rule-qa/rule-hits-over-time
Author: jm
Date: Sun Oct 30 12:41:56 2005
New Revision: 329635

URL: http://svn.apache.org/viewcvs?rev=329635&view=rev
Log:
more porting

Modified:
spamassassin/trunk/masses/rule-qa/rule-hits-over-time

Modified: spamassassin/trunk/masses/rule-qa/rule-hits-over-time
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/masses/rule-qa/rule-hits-over-time?rev=329635&r1=329634&r2=329635&view=diff
==============================================================================
--- spamassassin/trunk/masses/rule-qa/rule-hits-over-time (original)
+++ spamassassin/trunk/masses/rule-qa/rule-hits-over-time Sun Oct 30 12:41:56 2005
@@ -295,14 +295,15 @@
my $y_label = ($scale_to_total_volume ?
"\%age of mail in period" : "Hits in period");

- open (GP, "| gnuplot -") or die "cannot run gnuplot";
+ open (GP, "| gnuplot - > $tmpdir/gp.log 2>&1") or die "cannot run gnuplot";

print GP qq{

set xlabel 'Time, in blocks of $period secs. (NOTE: -1% hitrate means no data for that time period)'
set ylabel '$y_label'

- set terminal png medium size $graph_x,$graph_y \\
+ set terminal png medium \\
+ size $graph_x,$graph_y \\
xffffff x444444 x33cc00 \\
xff3300 x0000cc x99cc00 xff9900 \\
xcccc00 x333333 x999999 x9500d3
@@ -354,7 +355,7 @@
# qq{ smooth bezier }.

qq{ with linespoints lt $style pt $style }.
- qq{ t '$legend' };
+ qq{ title '$legend' };

}