# 3D Viewer › Surface Plot

## How to work with surface plots

Surface plots show a 2D image as a 3D plot, where the 3rd dimension is given by the intensity.

Because only one slice of an image stack can be displayed a time, SurfacePlot2D offers a method to set the displayed slice:

    // Add the image as a volume