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
Identifying peaks and throughsDear all, By following the method of Bry and Boschan (1971), full reference placed below, I want to…
Identifying peaks and throughs within a time seriesDear all, By following the method of Bry and Boschan (1971), full reference placed below, I want to…
After an estimation with fixed effects, my e(b) matrix dmension change from a computer to anotherHi, After an estimation with fixed effect (with OLS or PPML) such as "ppml v dist contig tariff FE_…
Calculate pairwise differencesHi friends, I have data: Code: * Example generated by -dataex-. To install: ssc install dataex cl…
Bivariate scatter plot with observations colored according to the clustersI performed K-Means clustering and am trying to graph two of my variables on a scatter plot, but nee…
Subscribe to:
Post Comments (Atom)
0 Response to Label two Y axis with Xtline code
Post a Comment