draw trace in alternating colours