From 6e5c8b9177a335f23811a5805e380abc3d6f64f6 Mon Sep 17 00:00:00 2001
From: sak2n21 <sak2n21@soton.ac.uk>
Date: Mon, 8 May 2023 20:10:39 +0800
Subject: [PATCH] (Commit Message) gold VS platinum data plot file

---
 goldVSplatinum_plot.plt | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 goldVSplatinum_plot.plt

diff --git a/goldVSplatinum_plot.plt b/goldVSplatinum_plot.plt
new file mode 100644
index 0000000..e50b3c5
--- /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
-- 
GitLab