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
Counting year and company-wise string observationsHi everyone, I have a dataset of governance data, listing each company's directors and whether they…
Stata Version and MEOLOGIT Model ConvergenceBasic question here, but when collaborating on analysis with a colleague with a different version of…
Help on using coded variables to run the mincer wage equation?Hi, I'm trying to run the mincer wage equation using ols regression with a random effect model. In …
How to perform impulse response function (IRF) and forecast error variance decomposition (FEVD) based on panel VECM?Hi all, I am currently working on a panel error correction model (PVECM), and trying to perform IRF…
stack or reshape?Dear All, I have this dataset Code: * Example generated by -dataex-. To install: ssc install datae…
Subscribe to:
Post Comments (Atom)
0 Response to how to trim the y-axis on a bar graph in Stata17
Post a Comment