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
I want my string values to become numeric values Code: * Example generated by -dataex-. To install: ssc install dataex clear input str26(q11r1_faceb…
Suppressing Overall marker in Metanalysis forest plotsHi David. I am new to stata and woud like to plot forest plots for of hazard ratios, but would like …
panel data with three equationsHi all, I am trying to solve the following equation system. The data is panel and I will include fi…
Summing up individual-specific amount of variablesHi, I am trying to generate a household-specific monetary policy shock variable. Generally I have tw…
replace multiple variables at the same timeHi, I have 10 variables. All of these variables are dummy, 0 or 1. The original data set is 1 and . …
Subscribe to:
Post Comments (Atom)
0 Response to Label two Y axis with Xtline code
Post a Comment