Clear input fields.

After clicking the submit button after an input field (either for the x-axis/y-axis lengths or when plotting a new point), we should clear the input fields automatically.