set format x "%d/%m/%y" set xtics rotate set grid set terminal png set xdata time set ylabel "Active tickets" set xlabel "\nDate" set title "Active tickets by type over time for 2002 - now" set timefmt "%Y-%m-%d" set output "ticket-type-all.png" plot [ ] [0:] "ticket-type-all.txt" using 1:2 ti "defect" with lines, \ "ticket-type-all.txt" using 1:3 ti "enhancement" with lines, \ "ticket-type-all.txt" using 1:4 ti "update" with lines, \ "ticket-type-all.txt" using 1:5 ti "submission" with lines, \ "ticket-type-all.txt" using 1:6 ti "request" with lines, \ "ticket-type-all.txt" using 1:($2+$3+$4+$5+$6) ti "Sum" with lines