Kia ora - when I run the following commands the resulting graph does not automatically fill in ticks and labels between 0 and 20 on the y-axis. I can specify ticks and labels using axis scale options within graph twoway, but I have a number of similar graphs I want to produce and I would like Stata to automatically produce ticks and labels on the y-axis. The reason I am using graph twoway instead of graph bar is so I can include an additional plot of confidence intervals overlain over the bars (as shown in http://www.ats.ucla.edu/stat/stata/faq/barcap.htm).
sysuse auto
collapse (mean) mpg, by(foreign)
graph twoway (bar mpg foreign), yscale(range(0))
Has anyone encountered this issue before and has a solution? Thanks for your help, Jonathan
sysuse auto
collapse (mean) mpg, by(foreign)
graph twoway (bar mpg foreign), yscale(range(0))
Has anyone encountered this issue before and has a solution? Thanks for your help, Jonathan
Comment