From 3be64f0d0c3ffff58e9d24eb0d4a0de550aa4770 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 9 Oct 2012 18:08:47 -0700 Subject: [PATCH] actually print the plot --- posts/bug_reporting_rate.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/bug_reporting_rate.mdwn b/posts/bug_reporting_rate.mdwn index 8cf225c..4eff943 100644 --- a/posts/bug_reporting_rate.mdwn +++ b/posts/bug_reporting_rate.mdwn @@ -27,13 +27,13 @@ reporting.rate$rate <- c(NA,(reporting.rate$bug[-1] - reporting.rate$bug[-nrow(r (reporting.rate$epoch[-1]-reporting.rate$epoch[-nrow(reporting.rate)])) reporting.rate$day <- as.POSIXct(reporting.rate$epoch,origin="1970-01-01") ### show the reporting rate from 2003 onward with a lowess line -xyplot(rate~day,reporting.rate[reporting.rate$epoch >= 1041408000,], +print(xyplot(rate~day,reporting.rate[reporting.rate$epoch >= 1041408000,], panel=function(x,y,col,...){ panel.xyplot(x,y,col="cyan",...); panel.loess(x,y,col="red",...);}, ylim=c(0,0.005), ylab="Bugs per Second", - xlab="Time") + xlab="Time")) """]] From the plot (Bugs reported per second over time with a red loess fit -- 2.39.2