# How to get the equation of a trend line in Calc? [closed]

Suppose I have a (xy scatter) diagram in localc and insert a trend line, for example a linear one of the type `f(x) = ax + b`

. I know hot to display the equation in the diagram, but how can I reference to the parameters `a`

and `b`

in a cell to make further calculations with it?

@karolus: LO Calc :)

Oh, in ubuntu libreoffice calc can be started using the command localc