I would like to restrict the x and y axis of a graph that was made using the following command;
scatter Absolute_Advantage Comparative_Advantage if year==2016 ||lfit Absolute_Advantage Comparative_Advantage, title("The Relationship Between" "Absolute Advantage and Comparative Advantage") yscale(range(0,2)) xscale(range(0, 250))
However this command leaves the axis lengths unchanged. (See Picture)
I have also tried;
scatter Absolute_Advantage Comparative_Advantage if year==2016, ||lfit Absolute_Advantage Comparative_Advantage, title("The Relationship Between" "Absolute Advantage and Comparative Advantage") ylabel(0(0.25)2)
But this command also does not restrict the axis length but instead mashes the labels into a small corner of the graph.
Thanks for your help!
Related Posts with Restrict Axis
Why do I get different results with mixed and meglm commands?Dear statalists members I have a dependent variable that is the logarithm of minutes of commuting ti…
Upgrading to Stata16 - Can I retrieve my username and password from my Stata15 app?Hello My company provided me the license for Stata16, however, I had been using it for Stata15 that…
GLM and SQREG heteroscedasticity analysisHi all, I'm trying to analyse the heteroscedasticity posteestimation of my two possible models regre…
KHB - Question on negative confounding percentageDear Stata users, I have a question on the interpretation of KHB command output. The output is the …
mediation analysis using -ldecomp- commandHello Stata users, I am trying to perform the mediation analysis. Combined indirect effects of medi…
Subscribe to:
Post Comments (Atom)
0 Response to Restrict Axis
Post a Comment