I wrote the following code and got an error "invalid varlist":
scatter capstateratio6 year, by(prov) yaxis(1) || scatter cappriratio6 year, by(prov) yaxis(1) ///
|| scatter capforratio6 year, by(prov) yaxis(1) || scatter expphypc year, by(prov) yaxis(2) ///
|| scatter explaw4pc year, by(prov) yaxis(2) || scatter expssepc year, by(prov) yaxis(2), ///
xlabel(1999(2)2006, angle(45)) ///
ytitle(1)("S/N/F capital ratio (%)") ytitle(2)("fiscal spending on P/I/L public goods (%)")
legend(order(1 "S(%)" 2 "N (%)" 3 "F (%)" 4 "P" 5 "I") 6 "L"))
Many thanks!
Linghui
Related Posts with How to graph one figure with several variables using the left yaxis and several other variables using the right yaxis (xaxis is year)?
Problem in running loop for regression-industry-yearDear all I'm calculating a variable, that is the residuals from a regression calculated for every i…
Equation has been stored but it is not found to perform testCould anyone explain to me how to solve this issue? I have run a regression and stored it but I can…
How can I select more than one minimum for each respondentHello Statalist. I have a dataset that looks like this: pid value number 1 0.12 2 1 0.4 2 …
Graph modification: How to modify a line to a "bracket-line", change text to italic and insert character ?Attempting to modify the following graph- 3 questions: 1) Would like to change some of graph text t…
Initial Values Problem with melogit and xtmelogitHello, I am fitting an HLM model using a complex survey (DHS) data . My data does not have Level 2 w…
Subscribe to:
Post Comments (Atom)
0 Response to How to graph one figure with several variables using the left yaxis and several other variables using the right yaxis (xaxis is year)?
Post a Comment