Hello, I have a general question about graphs containing a 'by' set. I am attempting to show how unionization rates have declined by education level over the years. I have attached an image of my two way line graph, I want every level of education to contain an x-axis with the relevant years. Is there a method to make this happen? I cannot find anything in the help section pertaining to this topic, any help is appreciated. Thanks!
Relevant code:
collapse (mean) Union , by(Schooling survyear)
twoway line Union survyear, by(Schooling)
Array
Related Posts with Adding x-ticks to every graph within a 'by' set for a twoway line
How to plot vertical densities for each variable?Hello! Do you know how I can graph estimated densities vertically on the same graph? Something of th…
IF condition within a loop depending on the iterated value of the loopI would appreciate any help that you can give on my question below. For example, I have the followi…
insufficient observations r(2001) issueHello, I am trying to run a regression using a panel data, using something like: "xtreg wages i.hig…
Add vertical reference lines in horizontal barsI am using -graph hbar- to create horizontal bars on means by groups. Does anyone know how to add ve…
how to reshape?Dear All, How can I reshape the following data into a standard long format panel data? Code: // htt…
Subscribe to:
Post Comments (Atom)
0 Response to Adding x-ticks to every graph within a 'by' set for a twoway line
Post a Comment