Added proper plotting ranges