Skip to contents

3D coordinates

coord_3d()
3D coordinate system
aes()
Aesthetic mapping with positional z support
position_on_face()
Position for projecting 2D and 3D layers onto cube faces

3D layers

geom_density_3d() stat_density_3d()
3D surface from 2D density estimate
geom_function_3d() stat_function_3d()
3D function as a continuous surface
geom_hull_3d() stat_hull_3d()
3D convex and alpha hulls
geom_path_3d() stat_path_3d()
3D paths connecting observations
geom_pillar_3d() stat_pillar_3d()
3D pillars from grid data
geom_point_3d() stat_point_3d()
3D scatter plot with 2D reference elements
geom_polygon_3d()
3D polygon geometry with depth sorting
geom_segment_3d() stat_segment_3d()
3D line segments
geom_smooth_3d() stat_smooth_3d()
3D surface from smoothed conditional means
geom_surface_3d() stat_surface_3d()
3D surface from regular grid data
geom_voxel_3d() stat_voxel_3d()
3D voxel visualization from sparse 3D data
stat_identity_3d()
3D-aware identity transformation

Visual styling

light()
Lighting specification for 3D surface rendering
guide_colorbar_3d() guide_legend_3d()
Color guides showing lighting effects
cube_theming
Using themes to style 3D panels and axis labels
element_rect()
Rectangle theme element with alpha support
polygon_rendering
Polygon rendering parameters
grid_generation
Grid generation parameters
make_tile_grid()
Generate rectangular, triangular, or hexagonal grids

Z axis scales

scale_z_continuous()
Continuous z-axis scale for 3D plots
scale_z_discrete()
Discrete z-axis scale for 3D plots
zlim()
Set z-axis limits

Data

mountain
Volcano terrain data
sphere_points
Sphere surface points
lorenz_attractor()
Lorenz butterfly attractor generator