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
Problem with the graph of xtline when using "i." commandHi all, I encountered some problems in graphing xtline diagrams. Here is my code: Code: preserve c…
problem with creating a variableHello, I have a dataset consisitng of firms and employess in each year. I would like to create a va…
Generalised Difference in Difference QuestionMy topic is on the Affordable Care Act's Medicaid expansion which happened in America for different …
Import a folder with .csv filesDear all, I am trying to import a folder with .csv files to stata. Each file corresponds to a month…
Testing for Interaction, C.Logistic Regression: Colinearity and no observations identifiedHello, I am trying to assess for interaction where the primary association is estrogen use and endo…
Subscribe to:
Post Comments (Atom)
0 Response to Restrict Axis
Post a Comment