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 3D cube faces

3D layers

stat_density_3d()
3D kernel density estimation surface
stat_function_3d()
3D function surface visualization
stat_hull_3d()
Create 3D convex and alpha hulls with lighting
stat_identity_3d()
3D-aware identity transformation
stat_path_3d()
3D path statistical transformation
stat_pillar_3d()
3D pillar visualization from grid data
stat_point_3d()
3D-aware point transformation with reference lines and points
stat_segment_3d()
3D segment statistical transformation
stat_smooth_3d()
3D smooth surface from scattered data
stat_surface_3d()
3D surface from regular grid data
stat_voxel_3d()
3D voxel visualization from sparse 3D data
geom_path_3d()
3D connected paths with depth-based scaling and proper depth sorting
geom_point_3d()
3D scatter plot with depth-based size scaling and reference projections
geom_polygon_3d()
3D polygon geometry with depth sorting
geom_segment_3d()
3D line segments with depth-based scaling and proper depth sorting
geom_smooth_3d()
3D smoothing geometry

Visual styling

lighting()
Create lighting specification for 3D surface rendering
element_rect()
Rectangle theme element with alpha support

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
Mountain
sphere_points
Sphere surface points
lorenz_attractor()
Lorenz butterfly attractor generator