diff options
| -rw-r--r-- | code/rtt/medians.R | 22 | ||||
| -rw-r--r-- | plots/rtt/part2/r1.png | bin | 0 -> 12162 bytes | |||
| -rw-r--r-- | plots/rtt/part2/r2.png | bin | 0 -> 36582 bytes | |||
| -rw-r--r-- | plots/rtt/part2/r3.png | bin | 0 -> 11430 bytes |
4 files changed, 22 insertions, 0 deletions
diff --git a/code/rtt/medians.R b/code/rtt/medians.R new file mode 100644 index 0000000..784aee0 --- /dev/null +++ b/code/rtt/medians.R @@ -0,0 +1,22 @@ +options("scipen" = 10) +data = read.csv(file="../../data/rtt/part2/r1_est_medians.csv", header=TRUE, sep=",") + +plot(data$startTime, data$medianEstRtt, type="l", xlab="Start Time", ylab="Median Est. RTT (s)", main="Rank 1 - Median Est. RTT vs. Start Time") + +dev.print(png, '../../plots/rtt/part2/r1.png', width=500) +dev.off() + +data = read.csv(file="../../data/rtt/part2/r2_est_medians.csv", header=TRUE, sep=",") + +plot(data$startTime, data$medianEstRtt, type="l", xlab="Start Time", ylab="Median Est. RTT (s)", main="Rank 2 - Median Est. RTT vs. Start Time") + +dev.print(png, '../../plots/rtt/part2/r2.png', width=500) +dev.off() + +data = read.csv(file="../../data/rtt/part2/r3_est_medians.csv", header=TRUE, sep=",") + +plot(data$startTime, data$medianEstRtt, type="l", xlab="Start Time", ylab="Median Est. RTT (s)", main="Rank 3 - Median Est. RTT vs. Start Time") + +dev.print(png, '../../plots/rtt/part2/r3.png', width=500) +dev.off() + diff --git a/plots/rtt/part2/r1.png b/plots/rtt/part2/r1.png Binary files differnew file mode 100644 index 0000000..960bccb --- /dev/null +++ b/plots/rtt/part2/r1.png diff --git a/plots/rtt/part2/r2.png b/plots/rtt/part2/r2.png Binary files differnew file mode 100644 index 0000000..939cbc8 --- /dev/null +++ b/plots/rtt/part2/r2.png diff --git a/plots/rtt/part2/r3.png b/plots/rtt/part2/r3.png Binary files differnew file mode 100644 index 0000000..13c6c1b --- /dev/null +++ b/plots/rtt/part2/r3.png |
