# gnuplot input file for dealing with quarterly data, as used by # economists. Allin Cottrell, May 1999. # # Usage: within gnuplot, # # call "plotq.gp" "" "" {} # # e.g. call "plotq.gp" "econ.dat" "using 1:2 w l" 12 # # The last param is optional and defaults to 12: it represents # the maximum number of time-axis tics that should be labeled. ! gp_quarters.pl $0 $2 load "tictmp.gp" print "Using \"qdata.tmp\" for plotting, in place of $0" plot "qdata.tmp" $1 ! rm tictmp.gp ! rm qdata.tmp