I'm trying to create a line graph showing trends in religiosity across five waves of survey data (2, 3, 4, 5, and 7). As you can see I'm not using wave 6 of the survey, but when I put in the code below it creates a large conspicuous space on the x-axis in between 5 and 7 where 6 should be. I need the graph to have equal spaces across the 5 points on the x-axis.
graph twoway line religiosity wave, xlabel(2 3 4 5 7)
All help is appreciated! thanks in advance.
Related Posts with need equal spaces for unequal time points in x-axis of graph
Loop functionHello, I want to generate following: gen capm1 = rmrf if decile == 1 and this 10x times, basically …
AsregWhen I run the following code webuse grunfeld, clear bys company: asreg invest mvalue kstock, fmb n…
Random sampling according to group in StataHi everyone, I have a question about how to randomly sample data in Stata according to specific gro…
Problems with merge commandHi! I have a cross-sectional time-series dataset and would like to add some firm-specific informati…
generate a dummy varaible based on whetehr the other dummy has the same or more ==1 than ==0 over the sample periodHello I have a panel data with firm and year variables. I also have a dummy variable, litigation, w…
Subscribe to:
Post Comments (Atom)
0 Response to need equal spaces for unequal time points in x-axis of graph
Post a Comment