]> git.donarmstrong.com Git - don.git/blobdiff - posts/bug_reporting_rate.mdwn
reduce the range slightly
[don.git] / posts / bug_reporting_rate.mdwn
index 0f952b719f3d595f00cbb17384e5f7c01c249e62..8d21da6a2465df450fd775bef857479f1cc74a0c 100644 (file)
@@ -13,11 +13,11 @@ plot this, lets only look at bugs ending in 00:
 
 
 Now, lets get the data into R and plot it.
-[For clarity, I'm not showing the R code, but it's available in the source cdoe for this post.]
+[For clarity, I'm not showing the R code, but it's available in the source code for this post.]
 
-[[!sweavealike results="hide" fig=1 echo=0 code="""
+[[!sweavealike width=800 fig=1 echo=0 results="hide" code="""
 require(lattice)
-reporting.rate <- read.table("../data/bug_reporting_rate.txt")
+reporting.rate <- read.table("data/bug_reporting_rate.txt")
 colnames(reporting.rate) <- c("bug","epoch")
 reporting.rate <- data.frame(reporting.rate)
 reporting.rate$bug <- as.numeric(gsub("\\\\.report","",gsub(".*\\\\/","",reporting.rate$bug)))
@@ -32,7 +32,7 @@ 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),
+      ylim=c(0,0.004),
          ylab="Bugs per Second",
          xlab="Time"))
 """]]