From 187428edb8a80d24959fa7251703cdd2d0e41d6b Mon Sep 17 00:00:00 2001 From: 10xmairing <10xpumba@gmail.com> Date: Thu, 14 Nov 2019 09:58:04 +0530 Subject: [PATCH 1/8] updated readme --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index 059eb8f..ed7d407 100644 --- a/README.md +++ b/README.md @@ -11,3 +11,27 @@ Description: send information (any text or system info) from UDP client to UDP s
Exp -4 Implement “FTP server” (TCP / UDP) using socket programming in C. + + +code for gnuplot + +navigate to dir with .txt or .dat file +` +gnuplot -p -e "plot 'filename.extension' with lines" +` + +` +gnuplot -p -e "plot 'filename.extension' with linespoints" +` + +` +gnuplot -p -e "plot 'filename.extension' with linespoints linestyle 2" +` + + +for extra smooth graph + +` +gnuplot -p -e "plot 'filename.extension' smooth csplines" +` + From f2235454b3b7714020ed1719158072cac932cd0e Mon Sep 17 00:00:00 2001 From: 10xmairing <10xpumba@gmail.com> Date: Thu, 14 Nov 2019 10:01:19 +0530 Subject: [PATCH 2/8] updated readme --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ed7d407..8269e6d 100644 --- a/README.md +++ b/README.md @@ -35,3 +35,7 @@ for extra smooth graph gnuplot -p -e "plot 'filename.extension' smooth csplines" ` +to set labels +gnuplot -p -e "set xlabel 'yourxlabel' ; set ylabel 'yourylabel'; plot 'filename.extension' with linespoints" + + From 77a087a1fb21c285f1015c4215c8a2d66ad65531 Mon Sep 17 00:00:00 2001 From: 10xmairing <10xpumba@gmail.com> Date: Thu, 14 Nov 2019 10:02:20 +0530 Subject: [PATCH 3/8] updated readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8269e6d..b6aa320 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ gnuplot -p -e "plot 'filename.extension' smooth csplines" ` to set labels +` gnuplot -p -e "set xlabel 'yourxlabel' ; set ylabel 'yourylabel'; plot 'filename.extension' with linespoints" - +` From ef0cd779c843e6e96194768f64ea1317cdb1fbd3 Mon Sep 17 00:00:00 2001 From: TenX <38736236+10XMairing@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:03:36 +0530 Subject: [PATCH 4/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index b6aa320..29369ac 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ gnuplot -p -e "plot 'filename.extension' smooth csplines" ` to set labels + ` gnuplot -p -e "set xlabel 'yourxlabel' ; set ylabel 'yourylabel'; plot 'filename.extension' with linespoints" ` From eebf60bd607a554e0ca595c607b86a0c5f26e033 Mon Sep 17 00:00:00 2001 From: TenX <38736236+10XMairing@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:04:11 +0530 Subject: [PATCH 5/8] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 29369ac..d7f8e1e 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Implement “FTP server” (TCP / UDP) using socket programming in C. code for gnuplot navigate to dir with .txt or .dat file + ` gnuplot -p -e "plot 'filename.extension' with lines" ` From 0b81538427d3f9c4484dde786b9b3ff3e9c4757c Mon Sep 17 00:00:00 2001 From: TenX <38736236+10XMairing@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:17:13 +0530 Subject: [PATCH 6/8] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d7f8e1e..026e9e1 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,9 @@ Description: send information (any text or system info) from UDP client to UDP s Exp -4 Implement “FTP server” (TCP / UDP) using socket programming in C. +
-code for gnuplot +## code for gnuplot navigate to dir with .txt or .dat file From b86eb873ac9b28184c185afec3e0b2efef2bee1c Mon Sep 17 00:00:00 2001 From: TenX <38736236+10XMairing@users.noreply.github.com> Date: Thu, 14 Nov 2019 10:39:54 +0530 Subject: [PATCH 7/8] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 026e9e1..09dc500 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +## Expermiments + Exp -1 Implement “TCP client server” architecture using socket programming in C. Description: retrieve information (any text or system info) from TCP server to TCP client. From 9db4817c9e1ebe1c0364dbdf2845eca47a54ef65 Mon Sep 17 00:00:00 2001 From: 10xmairing <10xpumba@gmail.com> Date: Thu, 14 Nov 2019 11:51:34 +0530 Subject: [PATCH 8/8] Data points added for exp 5 and exp 7 --- 5/datapoints.dat | 6 ++++++ 7/delay.dat | 6 ++++++ 7/jitter.dat | 7 +++++++ 7/throughput.dat | 7 +++++++ README.md | 1 + 5 files changed, 27 insertions(+) create mode 100644 5/datapoints.dat create mode 100644 7/delay.dat create mode 100644 7/jitter.dat create mode 100644 7/throughput.dat diff --git a/5/datapoints.dat b/5/datapoints.dat new file mode 100644 index 0000000..b1ff8d1 --- /dev/null +++ b/5/datapoints.dat @@ -0,0 +1,6 @@ +128 0.326406 +256 0.881652 +512 1.4369 +1024 2.17723 +2048 2.95497 +4096 3.62819 diff --git a/7/delay.dat b/7/delay.dat new file mode 100644 index 0000000..9a43e0f --- /dev/null +++ b/7/delay.dat @@ -0,0 +1,6 @@ +32 0.014736 +64 0.0127246 +128 0.0113459 +256 0.0110445 +512 0.0108113 +1024 0.0110604 diff --git a/7/jitter.dat b/7/jitter.dat new file mode 100644 index 0000000..8476c9a --- /dev/null +++ b/7/jitter.dat @@ -0,0 +1,7 @@ +16 0 +32 0 +64 0 +128 0 +256 0 +512 0 +1024 0 diff --git a/7/throughput.dat b/7/throughput.dat new file mode 100644 index 0000000..6e01935 --- /dev/null +++ b/7/throughput.dat @@ -0,0 +1,7 @@ +16 0.00828258 +32 0.0157087 +64 0.0207121 +128 0.0519263 +256 0.070962 +512 0.129073 +1024 0.223923 \ No newline at end of file diff --git a/README.md b/README.md index b6aa320..41f4530 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ Implement “FTP server” (TCP / UDP) using socket programming in C. code for gnuplot navigate to dir with .txt or .dat file + ` gnuplot -p -e "plot 'filename.extension' with lines" `