set size .95, 1 set term png size 1000, 300 set output 'xantrex_panel_power.png' set xdata time set timefmt "%b %d %H:%M:%S %Y" set title "Panel Power" set ylabel "DC Watts" set yrange [0:2000] set xrange [*:*] set xlabel " " set grid set key top left plot 'xantrex.data' using 1:(($10 * $11)) t "Fixed Panel Power" with lines lc rgb "red", \ 'xantrex.data' using 1:(($12 * $13)) t "Tracking Panel Power" with lines lc rgb "green", \ 'xantrex.data' using 1:(($10 * $11 + $12 * $13)) t "Total Panel Power" with lines lc rgb "black" set output 'xantrex_battery_voltage.png' set xdata time set timefmt "%b %d %H:%M:%S %Y" set title "Panel and Battery Voltage" set ylabel "DC Volts" set yrange [0:90] set xrange [*:*] set xlabel " " set grid set key top left plot 'xantrex.data' using 1:5 t "Battery Voltage" with lines lc rgb "black", \ 'xantrex.data' using 1:10 t "Fixed Panel Voltage" with lines lc rgb "red", \ 'xantrex.data' using 1:12 t "Tracking Panel Voltage" with lines lc rgb "green" set output 'xantrex_battery_current.png' set xdata time set timefmt "%b %d %H:%M:%S %Y" set title "Battery Current" set ylabel "DC Amps" set yrange [-40:40] set xrange [*:*] set xlabel " " set grid set key top left plot 'xantrex.data' using 1:(($6 * -1)) t "Inverter Current Draw (from Battery)" with lines lc rgb "black" set output 'xantrex_ac_amps.png' set xdata time set timefmt "%b %d %H:%M:%S %Y" set title "Household Current (excluding garage, measured by Xantrex XW-6048 Inverter)" set ylabel "AC Amps" set yrange [*:*] set xrange [*:*] set xlabel " " set grid set key top left plot 'xantrex.data' using 1:((-$7)) t "Utility Input" with lines, \ 'xantrex.data' using 1:9 t "Household demand" with lines lc rgb "black"