compute_ori_sca function

Compute the origin and scale of the horizon plot