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
Drop rows that are empty in all variablesHi Statalist I have a question about trying to drop those rows that are empty in all the variables …
mcp error "There was a problem executing -margins-."Dear colleagues, my first post here so apologies if I'm doing it wrong. I always use Royston's mcp …
Calculating joint significanceDear all, I run a regression of financial reporting quality (FRQ) on investment where I have a vari…
SUR-like technique for same outcome but multiple predictorsHello, I am running a series of multinomial logistic regressions that use the same outcome variable…
fit a quadratic time trend using rangestatHi all, I have a 30-year unbalanced panel data, with firm and year. I wish to do a 10-year rolling …
Subscribe to:
Post Comments (Atom)
0 Response to Restrict Axis
Post a Comment