diff --git a/plot-graph.plt b/plot-graph.plt new file mode 100644 index 0000000000000000000000000000000000000000..be96e99ec695eb9de7e3dca5b495225f758489a4 --- /dev/null +++ b/plot-graph.plt @@ -0,0 +1,145 @@ +#!/bin/bash +#gnuplot <<EOF + +set terminal png +set output "documentaryGraph.png" +set datafile separator "," +set title "DocumentaryViews" +set xlabel "Time" +set xdata time +set timefmt '%d-%m-%Y %H:%M:%S' +set format x '%d-%m-%Y %H:%M:%S' +set yrange ['7097900':'7099400'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "documentary.csv" u 2:1 t "Documentary" w linespoints ls 1 + +set output "duneTrailerGraph.png" +set datafile separator "," +set title "Dune Trailer 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 yrange ['13710000':'13750000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "duneTrailer.csv" u 2:1 t "Dune Trailer" w linespoints ls 1 + +set output "gamingVideoGraph.png" +set datafile separator "," +set title "Gaming 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 yrange ['974900':'976600'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "gamingVideo.csv" u 2:1 t "Gaming" w linespoints ls 1 + +set output "tenDamGraph.png" +set datafile separator "," +set title "Ten Dam 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 yrange ['13695700':'13695880'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "tendam.csv" u 2:1 t "Ten Dam" w linespoints ls 1 + +set output "offlineTvGraph.png" +set datafile separator "," +set title "OfflineTV 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 yrange ['766100':'773000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "offlineTVVideo.csv" u 2:1 t "OfflineTV" w linespoints ls 1 + +set output "musicPlaylistGraph.png" +set datafile separator "," +set title "Music Playlist 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 yrange ['1460890':'1461000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "musicPlaylist.csv" u 2:1 t "Music Playlist" w linespoints ls 1 + +set output "mukbangGraph.png" +set datafile separator "," +set title "Mukbang 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 yrange ['1068900':'1083000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "mukbangVideo.csv" u 2:1 t "Mukbang" w linespoints ls 1 + +set output "jvkeMusicGraph.png" +set datafile separator "," +set title "JVKE Music 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 yrange ['30500':'31100'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "jvkeMusic.csv" u 2:1 t "JVKE Music" w linespoints ls 1 + +set output "jisooMusicGraph.png" +set datafile separator "," +set title "Jisoo Music 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 yrange ['186350000':'186394000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "jisooMusic.csv" u 2:1 t "Jisoo Music" w linespoints ls 1 + +set output "iveMusicGraph.png" +set datafile separator "," +set title "Ive Music 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 yrange ['63183000':'63203000'] +set xtics rotate +set ylabel "Views" +set style line 1 linecolor rgb 'blue' linetype 1 linewidth 3 pointtype 10 pointsize 1 +set autoscale x +plot "iveMusic.csv" u 2:1 t "Ive Music" w linespoints ls 1 + +