What command can I use to create a Scatter plot with regression line and line of perfect correlation?
-
Login or Register
- Log in with
sysuse citytemp, clear set scheme s1color scatter tempjul tempjan, ms(Oh) /// || lfit tempjul tempjan /// || function Equality=x, ra(tempjan) lp(dash) /// legend(order(2 3) col(1) ring(0) pos(5)) /// ytitle("`: var label tempjul' ({°ree}F)") /// xtitle("`: var label tempjan' ({°ree}F)") /// xsc(titlegap(*5)) aspect(1) yla(, ang(h))
Comment