#!/bin/sh

FILE=meteorites_formation_ages

awk '!/^#/ && (NF>0)' < $FILE.dat > $FILE.tmp
echo -e "50\n0 5\n$FILE.tmp" > hist.in
hist4 < hist.in > $FILE.dat_h

./$FILE.plt
patch $FILE.eps $FILE.eps.diff

epstopdf_embed $FILE.eps
eps2png_crop $FILE.eps

