I am using an xtline to graph two variables with very different scales. I am using the code below
xtline ManufacturingProperty, addplot(line FeeinLieuandJointInd year, yaxis(2))
It works in the sense that it allows me to use different scales for the left and right Y axis but I cannot figure out how to label the 2nd Y axis since addplot does not seem to allow ytitle() as a suboption.
Related Posts with Label two Y axis with Xtline code
Check if coefficient from two different reghdfe regressions is the sameHi all, I am using Stata 15 on Windows. I have data on houses and study the effect of mixed use on…
SUR-like technique for same outcome but multiple predictorsHello, I am running a series of multinomial logistic regressions that use the same outcome variable…
Agreement (kappa) Dear Statalisters, I have a 65 observation, we want to look at the variable only walking >=6 min…
Is it possible to use two datasets at once?Hey STATA noob here, I'm wondering if it's possible to use variables from two different datasets at…
Hypothetical default rateDear Statalist, I have a dataset containing loans which are followed through time. I am running a l…
Subscribe to:
Post Comments (Atom)
0 Response to Label two Y axis with Xtline code
Post a Comment