Ticket #29279: plot-throughput.R

File plot-throughput.R, 343 bytes (added by phw, 3 months ago)

R script to visualise throughput over time.

Line 
1require(ggplot2)
2
3args <- commandArgs(trailingOnly = TRUE)
4data <- read.csv(args[1], header=TRUE)
5
6ggplot(data, aes(timestamp, bytes)) +
7       geom_point() +
8       geom_smooth() +
9       xlab("Time") +
10       ylab("# of transferred bytes") +
11       theme_minimal()
12
13dev.off()
14
15ggsave("throughput.pdf",
16       width = 5,
17       height = 2.5)