Skip to content
Snippets Groups Projects
Select Git revision
  • b1d5000ece10daf58f233666634302778e09f85a
  • master default protected
2 results

iridis.md

Blame
  • goldBidAsk.plt 622 B
    #!/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