#!/bin/sh # # dopopplots: # # Copyright (c) 2003 Chris Lightfoot. All rights reserved. # Email: chris@ex-parrot.com; WWW: http://www.ex-parrot.com/~chris/ # # $Id:$ # for when in 0 10 20 30 40 50 ; do title="$when years from now" if [ $when = 0 ] ; then title="now" fi gnuplot <x for rate in $( seq 1 0.05 1.5 ) ; do echo -n "$rate " >> x ./popmodel 1 $rate > /dev/null 2>> x done cat x gnuplot <y for rate in 1 2 3 4 5 ; do echo -n "$rate " >> y ./popmodel $rate 1 > /dev/null 2>> y done gnuplot <