From 145b0bfc405968a9e43f65a0f81dda32d6dacdc4 Mon Sep 17 00:00:00 2001 From: Kumar Damani Date: Thu, 22 Nov 2018 00:28:51 -0500 Subject: added interall plot --- code/perflow/flow_interarrival.R | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 code/perflow/flow_interarrival.R (limited to 'code') diff --git a/code/perflow/flow_interarrival.R b/code/perflow/flow_interarrival.R new file mode 100644 index 0000000..5ef69ba --- /dev/null +++ b/code/perflow/flow_interarrival.R @@ -0,0 +1,8 @@ +tcp_times = read.csv(file="../../data/perpacket/tcp_arrivel_time.csv", header=TRUE, sep=",") + +tcp_times_cdf = ecdf(tcp_times$time) + +plot(tcp_times_cdf, col="black", main="CDF of TCP inter-arrival time of TCP flows", xlab="time (s)", ylab="probability") +dev.print(png, '../../plots/perflow/interarrival.png', width=500) + +#quit() -- cgit v1.2.3