Add LD/LL plotting code.