From dd4f2a23727d4d731ffd31cc67f244eca6cefc8a Mon Sep 17 00:00:00 2001
From: dst1m17 <d.s.tarapore@soton.ac.uk>
Date: Tue, 15 Feb 2022 16:56:30 +0000
Subject: [PATCH] Gnuplot script for line plot added

---
 plot-line.plt | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 plot-line.plt

diff --git a/plot-line.plt b/plot-line.plt
new file mode 100644
index 0000000..d4223c9
--- /dev/null
+++ b/plot-line.plt
@@ -0,0 +1,8 @@
+set terminal png       
+set output  "plot-sort-data.png" 
+set title "Computational cost of sorting algorithm"
+set xlabel "Number of elements to sort"
+set ylabel "Time (ms)"
+set style line 1 linecolor rgb '#0060ad' linetype 1 linewidth 2 pointtype 7 pointsize 1.5
+set datafile separator ','
+plot "data.dat" using 1:2 with linespoints ls 1
\ No newline at end of file
-- 
GitLab