Formula method for lplot function.

Source rallfun first.