diff --git a/goldVSplatinum_plot.plt b/goldVSplatinum_plot.plt new file mode 100644 index 0000000000000000000000000000000000000000..e50b3c5aaae627ce5ab4b4e0044e6399cf9061bf --- /dev/null +++ b/goldVSplatinum_plot.plt @@ -0,0 +1,16 @@ +#!/bin/bash + +set terminal png +set output 'goldVSplatinum_plot.png' +set datafile separator "," +set xlabel 'time' +set xdata time +set timefmt '%Y-%m-%d %H%M%S' +set format x '%Y-%m-%d %H:%M:%S' +set ylabel 'price/$' +set xrange ['2023-05-04 23:00:00':'2023-05-05 01:00:00'] +set yrange ['10':'2060.00'] +set xtics rotate +set autoscale y +set title 'Live gold and platinum bid price in every 10 minutes' +plot "goldbid.csv" u 2:1 t "goldbidprice" w linespoints,"platinumbid.csv" u 2:1 t "platinumbidprice" w linespoints