Skip to content

Instantly share code, notes, and snippets.

@ayosec
Last active December 14, 2021 22:07
Show Gist options
  • Save ayosec/97458759696b4177c5dfbe5e88311cb7 to your computer and use it in GitHub Desktop.
Save ayosec/97458759696b4177c5dfbe5e88311cb7 to your computer and use it in GitHub Desktop.
set term svg size 1400,1000 font "sans,30"
set output "plot.svg"
set style data fsteps
set timefmt "%Y-%m-%d"
set xlabel "Fecha (día/mes)"
set xdata time
set xrange [ '2021-11-01' : '2021-12-15' ]
set format x "%d/%m"
set ylabel "Cantidad"
set yrange [ 0 : 15 ]
set style line 1 lc rgb '#0060ad' pt 7 ps 0.8 lt 1 lw 2
set style line 2 lc rgb '#0080ff' lt 1 lw 2
set style line 10 lc rgb'#808080' lt 0 lw 2
set grid ls 10
plot 'input.dat' using 1:2 with steps ls 2 t "", \
'' using 1:2 with points ls 1 t ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment