adjusting plotting ranges