Hello

Specifically I am using serrbar which I understand has the same options as graph twoway. I have 150 cases for the x axis, but these are grouped, so that I want marker #1 to be black, #2 dark grey, #3 medium grey, #4 light grey, #5 white. I then want to repeat this colouring across all 150 cases. I can do this manually with the graph editor, but I have to produce many graphs, so would it would take an inordinate amount of time. Is there a way to do this either? 1. Manually specifying a colour for each marker 2. Generating a variable that runs 1-5 across the the 150 cases, then using this to specify the colours of all the 1s, 2s, 3s, etc.? The second option sounds like less work but I'll happily take either.

Many thanks
Dan