Skip to content
Snippets Groups Projects
Commit 9f08ab57 authored by hqo1e21's avatar hqo1e21
Browse files

(Commit message) script file and png file for graph

parent 2e6bda74
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
set terminal png
set output 'allAsk.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['20.00':'2020.00']
set xtics rotate
set autoscale y
set title 'Ask'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
set style line 3 linecolor rgb 'green' linetype 1 linewidth 1 pointtype 9 pointsize 1
set style line 4 linecolor rgb 'yellow' linetype 1 linewidth 1 pointtype 13 pointsize 1
plot "gold.csv" u 5:2 t "goldAsk" w linespoints ls 1, "silver.csv" u 5:2 t "silverAsk" w linespoints ls 2, "platinum.csv" u 5:2 t "platinumAsk" w linespoints ls 3, "palladium.csv" u 5:2 t "palladiumAsk" w linespoints ls 4
allAsk.png

6.11 KiB

#!/bin/bash
set terminal png
set output 'allBid.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['20.00':'2020.00']
set xtics rotate
set autoscale y
set title 'Bid'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
set style line 3 linecolor rgb 'green' linetype 1 linewidth 1 pointtype 9 pointsize 1
set style line 4 linecolor rgb 'yellow' linetype 1 linewidth 1 pointtype 13 pointsize 1
plot "gold.csv" u 5:1 t "goldBid" w linespoints ls 1, "silver.csv" u 5:1 t "silverBid" w linespoints ls 2, "platinum.csv" u 5:1 t "platinumBid" w linespoints ls 3, "palladium.csv" u 5:1 t "palladiumBid" w linespoints ls 4
allBid.png

6.13 KiB

#!/bin/bash
set terminal png
set output 'allChange.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['0.00':'25.00']
set xtics rotate
set autoscale y
set title 'Change'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
set style line 3 linecolor rgb 'green' linetype 1 linewidth 1 pointtype 9 pointsize 1
set style line 4 linecolor rgb 'yellow' linetype 1 linewidth 1 pointtype 13 pointsize 1
plot "gold.csv" u 5:3 t "goldChange" w linespoints ls 1, "silver.csv" u 5:3 t "silverChange" w linespoints ls 2, "platinum.csv" u 5:3 t "platinumChange" w linespoints ls 3, "palladium.csv" u 5:3 t "palladiumChange" w linespoints ls 4
allChange.png

6.56 KiB

#!/bin/bash
set terminal png
set output 'allChangePercent.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 'percent'
set xrange ['2023-05-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['0.00':'4.00']
set xtics rotate
set autoscale y
set title 'ChangePercent'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
set style line 3 linecolor rgb 'green' linetype 1 linewidth 1 pointtype 9 pointsize 1
set style line 4 linecolor rgb 'yellow' linetype 1 linewidth 1 pointtype 13 pointsize 1
plot "gold.csv" u 5:4 t "goldChangePercent" w linespoints ls 1, "silver.csv" u 5:4 t "silverChangePercent" w linespoints ls 2, "platinum.csv" u 5:4 t "platinumChangePercent" w linespoints ls 3, "palladium.csv" u 5:4 t "palladiumChangePercent" w linespoints ls 4
allChangePercent.png

7.26 KiB

#!/bin/bash
set terminal png
set output 'allSilver.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['25.00':'26.00']
set xtics rotate
set autoscale y
set title 'all (Silver)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
set style line 3 linecolor rgb 'green' linetype 1 linewidth 1 pointtype 9 pointsize 1
set style line 4 linecolor rgb 'yellow' linetype 1 linewidth 1 pointtype 13 pointsize 1
plot "silver.csv" u 5:1 t "silverBid" w linespoints ls 1, "silver.csv" u 5:2 t "silverAsk" w linespoints ls 2, "silver.csv" u 5:3 t "silverChange" w linespoints ls 3, "silver.csv" u 5:4 t "silverChangePercent" w linespoints ls 4
allSilver.png

5.78 KiB

#!/bin/bash
set terminal png
set output 'goldBid.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['2000.00':'2020.00']
set xtics rotate
set autoscale y
set title 'Bid (Gold)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
plot "gold.csv" u 5:1 t "goldBid" w linespoints ls 1
goldBid.png

5.62 KiB

#!/bin/bash
set terminal png
set output 'goldBidAsk.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['2000.00':'2020.00']
set xtics rotate
set autoscale y
set title 'BidAsk (Gold)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
plot "gold.csv" u 5:1 t "goldBid" w linespoints ls 1, "gold.csv" u 5:2 t "goldAsk" w linespoints ls 2
goldBidAsk.png

6.38 KiB

#!/bin/bash
set terminal png
set output 'palladiumBidAsk.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['25.00':'26.00']
set xtics rotate
set autoscale y
set title 'BidAsk (Palladium)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
plot "palladium.csv" u 5:1 t "palladiumBid" w linespoints ls 1, "palladium.csv" u 5:2 t "palladiumAsk" w linespoints ls 2
palladiumBidAsk.png

6.3 KiB

#!/bin/bash
set terminal png
set output 'platinumBidAsk.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['1040.00':'1070.00']
set xtics rotate
set autoscale y
set title 'BidAsk (Platinum)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
plot "platinum.csv" u 5:1 t "platinumBid" w linespoints ls 1, "platinum.csv" u 5:2 t "platinumAsk" w linespoints ls 2
platinumBidAsk.png

6.73 KiB

#!/bin/bash
set terminal png
set output 'silverBidAsk.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-05 22:00:00':'2023-05-05 24:00:00']
set yrange ['25.00':'26.00']
set xtics rotate
set autoscale y
set title 'BidAsk (Silver)'
set style line 1 linecolor rgb 'blue' linetype 1 linewidth 1 pointtype 5 pointsize 1
set style line 2 linecolor rgb 'red' linetype 1 linewidth 1 pointtype 7 pointsize 1
plot "silver.csv" u 5:1 t "silverBid" w linespoints ls 1, "silver.csv" u 5:2 t "silverAsk" w linespoints ls 2
silverBidAsk.png

6.49 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment