The newplot command clears the current visualization window, but not until the next plot is ready to be drawn. Unlike the clear command, which clears the visualization window immediately, the newplot command is used to make a smooth transition from one plot to the next.