further changes in pdr plot generation (still a lot to do)