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
New variable based on number of distinct observations if 2 conditions are metDear all, I'm trying to find the correct command for the following: I have a dataset where each com…
Randomly shuffling only one variable in StataHello, We are trying to run a placebo test for our model and to do that we wish to randomly shuffle…
Testing underpowerment of pre intervention dummyFor testing the validity of parallel trend assumption I need to know how many observations I have ( …
how to split a var(string) into two vars hello, I have a question, how to sArray plit a into two as required: ----------------------- c…
fixed model in network meta analysis (NMA)In a NMA, the "network meta c" is a code for consisted random model, then if I need, how to run a fi…
Subscribe to:
Post Comments (Atom)
0 Response to need equal spaces for unequal time points in x-axis of graph
Post a Comment