Added code to dynamically compute left and bottom plot margins.