Maintaining the canvas background color while displaying a plot object on it I have the following code which generates and 3D surface plot: