From 9c16cad947523f7f036e33e92f87214c1a7a8b07 Mon Sep 17 00:00:00 2001 From: kxt1g21 <kxt1g21@soton.ac.uk> Date: Mon, 8 May 2023 10:42:43 +0800 Subject: [PATCH] (Commit message) All data combine and put into a graph --- many-graph.plt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 many-graph.plt diff --git a/many-graph.plt b/many-graph.plt new file mode 100644 index 0000000..6da6568 --- /dev/null +++ b/many-graph.plt @@ -0,0 +1,16 @@ +#!/bin/bash +#gnuplot <<EOF + +set terminal png +set output "many-graph.png" +set datafile separator "," +set title "Views" +set xlabel "Time" +set xdata time +set timefmt '%d-%m-%Y %H:%M:%S' +set format x '%d-%m-%Y %H:%M:%S' +set xtics rotate +set ylabel "Views" +set autoscale x +set autoscale y +plot "documentary.csv" using 2:1 t "documentary" w linespoints ls 1,"duneTrailer.csv" using 2:1 t "Dune" w linespoints ls 2,"gamingVideo.csv" using 2:1 t "gamingVideo" w linespoints ls 3,"iveMusic.csv" using 2:1 t "iveMusic" w linespoints ls 4,"tendam.csv" using 2:1 t "tendam" w linespoints ls 5,"offlineTVVideo.csv" using 2:1 t "offlineTV" w linespoints ls 6,"musicPlaylist.csv" using 2:1 t "musicPlaylist" w linespoints ls 7,"mukbangVideo.csv" using 2:1 t "mukbang" w linespoints ls 8,"jvkeMusic.csv" using 2:1 t "jvke" w linespoints ls 9,"jisooMusic.csv" using 2:1 t "jisoo" w linespoints ls 10 -- GitLab