[or-cvs] [metrics-db/master] Add attribution to dirreq-stats-based graphs, too.

karsten at torproject.org karsten at torproject.org
Wed Jul 28 16:05:43 UTC 2010


Author: Karsten Loesing <karsten.loesing at gmx.net>
Date: Wed, 28 Jul 2010 18:05:08 +0200
Subject: Add attribution to dirreq-stats-based graphs, too.
Commit: 35c517e583e1dbae5f8025c33a9187257c4d9734

---
 R/dirreq-stats.R |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/R/dirreq-stats.R b/R/dirreq-stats.R
index 2d355c4..0615fe5 100644
--- a/R/dirreq-stats.R
+++ b/R/dirreq-stats.R
@@ -5,7 +5,8 @@ plot_dirreq <- function(directory, filename, title, limits, data, code) {
   c <- data.frame(date = data$date, users = data[[code]])
   ggplot(c, aes(x = as.Date(date, "%Y-%m-%d"), y = users)) +
     geom_line() +
-    scale_x_date(name = "", limits = limits) +
+    scale_x_date(name = "\nThe Tor Project - https://metrics.torproject.org/",
+    limits = limits) +
     scale_y_continuous(name = "",
     limits = c(0, max(c$users, na.rm = TRUE))) +
     opts(title = title)
-- 
1.7.1



More information about the tor-commits mailing list