Dear Statalist,
I'm hoping to trim off part of the y-axis on a bar graph (circled in red in image below) to make it consistent with a graph combine (am combining with a range area plot)
Array
I've tried to use the yscale(range(numlist)) option without success, as you can see from the following code:
webuse auto
graph bar price if make=="AMC Concord" | make == "Volvo 260", over(foreign) yscale(range(0 15000))
If anyone can advise how to trim the y-axis line a bit (while keeping the labels the same) that would be most appreciated
Kind regards,
Ben
Related Posts with how to trim the y-axis on a bar graph in Stata17
Count dependent variable with many zero valuesHi My dependent variable is the number of policies that a company has adopted in the given year. It…
How to reduce empty space in the cellHi, I try to reduce or remove empty space in each cell of string variables because it really hinders…
Inconsistency between correlation analysis and regression resultsHi Statalist, I have the panel data (state-year) and run a correlations analysis between my y and x…
Lags Leads Treatment EffectHello everyone, I unfortunately have another question! I am looking into how to adjust the regress…
How to draw cubic splines after Cox regressionHello, Could anybody help me with syntaxis to do this graph? y axis= hazard ratio. x axis= covariate…
Subscribe to:
Post Comments (Atom)
0 Response to how to trim the y-axis on a bar graph in Stata17
Post a Comment