#!/usr/local/bin/gnuplot set terminal png size 1200,400 set output "weight.png" set xdata time set timefmt '%Y%m%d' plot 'weight.txt' using 1:2 title 'Weight' with lines