minor modification on ldr.py & added plotting python script.