Hello everyone
I have a quick question. I'm trying to run some scatters and would like to add transparency in order to check for pair correlations, say var1 and var2. The points on the scatter are too close to each other, so it is impossible to see the fit trend line. I am running the following code:
I know that you normally require data for that, but it is a simple code issue. I would like the trend line to be plotted on top of the scatter points or any other way so that the scatter point to be transparent in order to be able to visualize the trend line. Much appreciate any held you could provide.
Best,
Mario
I have a quick question. I'm trying to run some scatters and would like to add transparency in order to check for pair correlations, say var1 and var2. The points on the scatter are too close to each other, so it is impossible to see the fit trend line. I am running the following code:
Code:
scatter var1 var2 , graphr(c(white)) m(Oh) yline(0, lc(navy) lp(dash)) || lfit var1 var2 /// || scatter var1 var2, mc(navy) ml() mlabc(navy) mlabpos(3) /// xtitle("Whatever goes here") yt("") title("1:whatever title ", size(medsmall)) /// legend(off) nodraw name(scatter1) yl(,format(%03.1f))
I know that you normally require data for that, but it is a simple code issue. I would like the trend line to be plotted on top of the scatter points or any other way so that the scatter point to be transparent in order to be able to visualize the trend line. Much appreciate any held you could provide.
Best,
Mario
Comment