#!/bin/bash
gnuplot << EOF
set terminal png small size 290,200 \
  xffffff x000000 x404040 x0000ff
set output "weight.png" 
set autoscale
set xtic auto
set ytic auto
set title "New Year's Resolution." 
set key off
set xlabel "Ordinal Date" 
set ylabel "Weight (lbs.)" 
set xdata time
set timefmt "%Y-%m-%d" 
set format x "%j" 
set yrange [150:200]
set xrange ["2008-02-06":"2008-04-30"]
plot "~/tmp/weightplot/weight.dat" using 1:2 with lines
EOF
mv ~/tmp/weightplot/weight.png ~/www/mazirian.com/htdocs/files/

Click through to see the shocking results …


Half way there!