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
Is there any case that the coefficient of variable of interest in DiD more significant when adding more variables?Considering a Difference-in-Differences equation with a dummy variable: yi=α+βDi+Xit+εi. While Xit…
Air Land TemperatureDear All, I firstly apologize for my post is not strictly related to Stata procedures, but I am mak…
Trouble obtaining quarterly values from a date variableI am starting with a date_of_survey variable that is a string formatted as YYYY-MM-DD. I then run th…
sub group analysis in clinical trial and forest plot in stataKindly help with the command for a forest plot Am analysis RCT data A binary outcome with several b…
What is the meaning of this Stata code and how to fix errors?Dear all, I come across a replication do-file of a study and some code in the do-file are beyond my…
Subscribe to:
Post Comments (Atom)
0 Response to how to trim the y-axis on a bar graph in Stata17
Post a Comment