fixed plot for very large ylimit and xlimit