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!
0 Response to Restrict Axis
Post a Comment