#!/sw/bin/gnuplot # # indexes.gnuplot # ems 2008 # set xdata time set grid set timefmt "%b %d, %Y" set datafile separator ";" set xrange ["May 1, 2007":*] set title "Comparison of Crude Oil Prices among OPEC and non-OPEC members \n(Data from EIA)" set ylabel "Spot Price FOB (Dollars / Barrel)" set xlabel "Date" set format y "$%.0f" set format x "%b\n%Y" set terminal png transparent interlace \ transparent xffffff \ x000000 x00FF00 \ xFF0000 x0000FF \ size 600,500 set terminal png font "./FreeSans.ttf" 8 set output "indexes.png" set key top left plot 'opec.dat' using 1:2 title "OPEC (Weighted)" with linespoints, \ 'nonopec.dat' using 1:2 title "Non-OPEC Countries (Weighted)" with linespoints