Change plot for accepting xlim, ylim and title