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 status over time for 2002 - now" set timefmt "%Y-%m-%d" set output "ticket-status-all.png" plot [ ] [0:] "ticket-status-all.txt" using 1:2 ti "assigned" with lines, \ "ticket-status-all.txt" using 1:3 ti "reopened" with lines, \ "ticket-status-all.txt" using 1:4 ti "new (with owner)" with lines, \ "ticket-status-all.txt" using 1:5 ti "new (no owner)" with lines, \ "ticket-status-all.txt" using 1:($2+$3+$4+$5) ti "Sum" with lines