[tor-commits] [metrics-tasks/master] Update #4499 graphing code to ggplot2 0.9 and .pdf.

karsten at torproject.org karsten at torproject.org
Tue Aug 7 18:35:29 UTC 2012


commit fad82513fc6029b976c64c158c059d3b43dcd2f3
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Aug 7 19:28:01 2012 +0200

    Update #4499 graphing code to ggplot2 0.9 and .pdf.
---
 task-4499/bridge-scaling.R |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/task-4499/bridge-scaling.R b/task-4499/bridge-scaling.R
index 972f240..a64a728 100644
--- a/task-4499/bridge-scaling.R
+++ b/task-4499/bridge-scaling.R
@@ -16,8 +16,8 @@ geom_point() +
 facet_grid(variable ~ ., scales = "free_y") +
 scale_x_continuous(name = "\nRunning bridges (2012-01-31 = 838, red)") +
 scale_y_continuous(name = "") +
-scale_colour_manual(name = "", value = c("black", "red")) +
+scale_colour_manual(name = "", values = c("black", "red")) +
 opts(legend.position = "none",
   title = "Scalability of Tor's bridge infrastructure\n")
-ggsave("bridge-scaling.png", width = 7, height = 6, dpi = 100)
+ggsave("bridge-scaling-graph.pdf", width = 7, height = 6, dpi = 100)
 



More information about the tor-commits mailing list