Add interactive code from r.profile to easily draw line.