From: Don Armstrong Date: Wed, 10 Oct 2012 01:08:47 +0000 (-0700) Subject: actually print the plot X-Git-Url: https://git.donarmstrong.com/?p=don.git;a=commitdiff_plain;h=3be64f0d0c3ffff58e9d24eb0d4a0de550aa4770 actually print the plot --- 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