I am trying to figure out how to ensure that a 45-degree line is also visually a 45-degree line in twoway.
In this example:
Code:
clear all set obs 70 gen x=0+(8-2)*runiform() gen y1 = 5 + x twoway line x x || line y1 x
- Ensure that "line x x" is visually a 45-degree line
- i.e. that the "distance" between 0 and 1 is the same on the x and y axis
- such that the plotted window adjusts accordingly
0 Response to Twoway graph constant scales
Post a Comment