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
Related Posts with Changing the colour of individual markers in twoway scatter graph
3SLS with non-continuous endogenous variablesHello Everyone, Much thanks for the opportunity provided for clarification of doubts and guidance on…
Interpretation of Interaction termsDear Statalisters I run following regression for panel data of children: PPVT being a test score, a…
Optimize() on a segmentHello, I would like to maximize my function of a specific segment, let's say [a,b]. Does anyone kno…
ICC in mi estimate meqrlogitHi all, I have successfully imputed values and run the mi estimate meqrlogit for multilevel analysi…
fix effect and clustering residualsHello all, I have a panel of prices of 4 products, in 200 towns, posted by 20 compnies for 12 month…
Subscribe to:
Post Comments (Atom)
0 Response to Changing the colour of individual markers in twoway scatter graph
Post a Comment