Andrea,
Is your question regarding the indicator linearreg that is returning only one Var, while you expect two values in order to be able to plot the line y= b+mx?
Am I correct?

Ciao