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 059eb8f..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. @@ -11,3 +13,35 @@ 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" +` + +to set labels + +` +gnuplot -p -e "set xlabel 'yourxlabel' ; set ylabel 'yourylabel'; plot 'filename.extension' with linespoints" +` +