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
camera_facing()
Compute camera-facing direction for 3D text

3D layers

geom_bar_3d() stat_bar_3d()
3D bar chart with automatic counting or binning
geom_col_3d() stat_col_3d()
3D columns from grid data
geom_hull_3d() stat_hull_3d()
3D convex and alpha hulls
geom_path_3d() stat_path_3d()
3D paths connecting observations
geom_point_3d() stat_point_3d()
3D scatter plot with 2D reference elements
geom_polygon_3d()
3D polygon geometry with depth sorting
geom_ridgeline_3d()
3D ridgeline plot from point grid
geom_segment_3d() stat_segment_3d()
3D line segments
geom_smooth_3d() stat_smooth_3d()
3D surface from smoothed conditional means
geom_text_3d() stat_text_3d()
3D text labels
geom_voxel_3d() stat_voxel_3d()
3D voxel visualization from sparse 3D data
geom_density_3d() stat_density_3d()
3D surface from 2D density estimate
stat_distributions_3d() geom_distributions_3d()
3D ridgeline distributions
stat_function_3d() geom_function_3d()
3D surface from a function
stat_surface_3d() geom_surface_3d()
3D surface from point 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
text_outlines()
Convert text to polygon outlines