Skip to contents

3D coordinates

coord_3d()
3D coordinate system
direction()
Specify a direction using angles
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_axes_3d()
3D coordinate axes
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_contour_3d() stat_contour_3d()
Contours of a 3D surface
geom_dropline_3d()
3D drop lines
geom_hull_3d() stat_hull_3d()
3D convex and alpha hulls
geom_path_3d() stat_path_3d()
3D paths connecting observations
geom_plane_3d()
3D reference planes
geom_point_3d() stat_point_3d()
3D scatter plots
geom_polygon_3d()
3D polygon geometry with depth sorting
geom_refline_3d()
3D reference lines
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
annotate_3d()
Create a 3D annotation layer
guide_colorbar_3d() guide_legend_3d()
Color guides showing lighting effects
cube_theming
Using themes to style 3D panels and axis labels
element_rect()
Enhanced rectangle element with alpha support
grid_generation
Grid generation
sorting_methods
Depth sorting

Animation & multiple views

orbit_3d()
Create an interactive drag-to-rotate ggcube
orbit3dOutput() renderOrbit3d()
Shiny bindings for orbit_3d
animate_3d()
Animate a 3D plot
anim_save_3d()
Save a 3D animation to a file
gifski_renderer_3d() av_renderer_3d() file_renderer_3d()
Animation renderers for animate_3d
facet_wrap_views() facet_grid_views()
Facet a plot by viewing angle

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
text_outlines()
Convert text to polygon outlines