Introduction
This chapter is dedicated to three-dimensional plots. As its own documentation stresses, ggplot2
is not able to draw true 3D surfaces, yet in a certain way, the package is up to the task. Some geometries can be used to visualize 3D surfaces in 2D. This chapter introduces them, the prerequisites, how to produce each of them, and which to use.
Note
We will use geometries to imply the commented visuals, which are contour, tile, and raster plots. All those 3D representations on 2D planes coming from ggplot2
can be coerced into plotly
. Besides, plotly
is able to draw true 3D surfaces and this chapter also points out how.