#!/usr/bin/gnuplot -persist
set terminal svg
set output 'output.svg'
#load "font.gp"
set grid
set linestyle 1 lt 1 lw 1
set linestyle 2 lt 2 lw 1
set linestyle 3 lt 4 lw 1
set title "Title Blood Pressure log: 2022/10/1 - 2022/10/31"
set pointsize 1
set xlabel "Date (yyyy/mm/dd)"
set ylabel "Pressure (mmHg)"
set xdata time
set timefmt "%Y/%m/%d %H:%M"
set xrange ["2022/10/1":"2022/10/31"]
set yrange [50:200]
set format x "%Y/%m/%d"
plot "11m.txt" using 1:3 with lines ls 1 title "HIGH",\
"11m.txt" using 1:4 with lines ls 2 title "LOW",\
135 with lines ls 3 notitle,\
85 with lines ls 3 notitle