Make a 3D scatter plot—Wolfram Documentation

ListPointPlot3D[{{x1,y1,z1},{x2,y2,z2},}]

generates a 3D scatter plot of points with coordinates {xi,yi,zi}.

ListPointPlot3D[array]

generates a 3D scatter plot of points with a 2D array of height values.

ListPointPlot3D[{data1,data2,}]

plots several collections of points, by default in different colors.

Details and Options

Examples

open all close all

Basic Examples  (6)

Show a scatter plot from an array of height values:

Use irregularly spaced data:

Add labels as Callout:

Fill below the points:

Show multiple sets of points:

Color the points by height:

Scope  (36)

General Data  (8)

For regular data consisting of values, the and data ranges are taken to be integer values:

Provide explicit and data ranges by using DataRange:

Plot multiple sets of regular data:

For irregular data consisting of triples, the and data ranges are inferred from the data:

Plot multiple sets of irregular data:

Areas around where the data is nonreal are excluded:

PlotRange is selected automatically:

Use PlotRange to focus in on areas of interest:

Use RegionFunction to restrict the surface to a region given by inequalities:

Tabular Data  (2)

Get tabular data:

Plot triples of data:

Plot multiple sets of data:

Include legends for the plot, using the column names:

Get tabular data:

Plot three columns as coordinate triples:

Use PivotToColumns to create columns of values for each species:

Special Data  (6)

Use Quantity to include units with the data:

Plot data in a QuantityArray:

Specify the units used with TargetUnits:

Plot data with uncertainty:

Specify strings to use as labels:

Specify locations for labels:

Plot data in a SparseArray:

Data Wrappers  (6)

Use wrappers on individual data, datasets or collections of datasets:

Wrappers can be nested:

Use the value of each point as a tooltip:

Use a specific label for all the points:

Labels points with automatically positioned text:

Use PopupWindow to provide additional drilldown information:

Button can be used to trigger any action:

Labeling and Legending  (6)

Label points with automatically positioned text:

Place the labels relative to the points:

Specify label names with LabelingFunction:

Include legends for each point collection:

Use Legended to provide a legend for a specific dataset:

Use Placed to change the legend location:

Specify the maximum size of labels:

Use the full label:

For dense sets of points, some labels may be turned into tooltips by default:

Increasing the size of the plot will show more labels:

Presentation  (8)

Provide an explicit PlotStyle for the points:

Provide separate styles for different surfaces:

Add labels:

Color the surface by height:

Provide an interactive Tooltip for each point:

Provide an interactive Tooltip for the whole plot:

Fill below the points:

Use a theme with simple ticks in a bright color scheme:

Use a highly styled theme:

Options  (84)

Axes  (3)

By default, Axes are drawn:

Use AxesFalse to turn off axes:

Turn on each axis individually:

AxesLabel  (4)

No axes labels are drawn by default:

Place a label on the axis:

Specify axes labels:

Use units as labels:

AxesOrigin  (2)

The position of the axes is determined automatically:

Specify an explicit origin for the axes:

AxesStyle  (4)

Change the style for the axes:

Specify the style of each axis:

Use different styles for the ticks and the axes:

Use different styles for the labels and the axes:

ColorFunction  (5)

Color by scaled , , and values:

Color by scaled and coordinates:

Use ColorData for predefined color gradients:

Named color gradients color in the direction:

ColorFunction has higher priority than PlotStyle:

ColorFunctionScaling  (2)

Use unscaled coordinates:

Unscaled coordinates are dependent on DataRange:

DataRange  (5)

Arrays of height values are displayed against the number of elements in each direction:

Rescale to the sampling space:

Each dataset is scaled to the same domain:

Triples are interpreted as , , coordinates:

Force interpretation as arrays of height values:

The dataset is normally interpreted as a list of , , triples:

Filling  (3)

Fill to the bottom, using "stems":

Filling occurs along the region cut by the RegionFunction:

Fill surface 1 to the bottom with blue and surface 2 to the top with red:

FillingStyle  (3)

Fill to the bottom with a variety of styles:

Fill to the plane with orange below and blue above:

Fill to the plane from above only:

ImageSize  (7)

Use named sizes such as Tiny, Small, Medium and Large:

Specify the width of the plot:

Specify the height of the plot:

Allow the width and height to be up to a certain size:

Specify the width and height for a graphic, padding with space if necessary:

Setting AspectRatioFull will fill the available space:

Use maximum sizes for the width and height:

Use ImageSizeFull to fill the available space in an object:

Specify the image size as a fraction of the available space:

IntervalMarkers  (2)

IntervalMarkersStyle  (2)

Interval markers are black by default:

Specify the style for the bars:

LabelingSize  (3)

Images in callouts and labels are resized automatically by default:

Use LabelingSize to change the display size of labels:

Textual labels are displayed at their full size:

Change the display size:

LabelingTarget  (7)

Labels are automatically placed to maximize readability:

Show all labels:

Use a denser layout for the labels:

Show the quarter of the labels that are easiest to read:

Only allow labels that are orthogonal to the points:

Only allow labels that are diagonal to the points:

Restrict labels to be above or to the right of the points:

Allow labels to obscure other points:

Allow labels to be clipped by the edges of the plot:

PlotLegends  (5)

No legend is used by default:

Generate a legend using labels:

Generate a legend using placeholders:

Use Placed to specify legend placement:

Build a custom legend with BarLegend:

PlotRange  (3)

Automatically compute the range:

Use all points to compute the range:

Use an explicit range to emphasize features:

PlotStyle  (1)

Plot two point sets with different styles:

Different point sizes:

PlotTheme  (2)

Use a theme with simple ticks in a bold color scheme:

Change color scheme:

RegionBoundaryStyle  (3)

RegionFunction  (4)

Plot over a region in :

The region depends on DataRange:

Regions do not have to be connected:

Use any logical combination of conditions:

ScalingFunctions  (5)

By default, plots have linear scales in each direction:

Use a log scale in the direction:

Use a linear scale in the direction that shows smaller numbers at the top:

Use different scales in the , and directions:

Use a scale defined by a function and its inverse:

Ticks  (6)

Ticks are placed automatically in each plot:

Use TicksNone to not draw any tick marks:

Place tick marks at specific positions:

Draw tick marks at the specified positions with the specified labels:

Specify tick marks with scaled lengths:

Customize each tick with position, length, labeling and styling:

TicksStyle  (3)

By default, the ticks and tick labels use the same styles as the axis:

Specify the overall tick style, including the tick labels:

Specify the tick style for each of the axes:

Applications  (1)

Sampling points for a three-dimensional integration:

Properties & Relations  (11)

Neat Examples  (2)

Quadruple helix:

Four conical spirals:

Wolfram Research (2007), ListPointPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPointPlot3D.html (updated 2025).

Text

Wolfram Research (2007), ListPointPlot3D, Wolfram Language function, https://reference.wolfram.com/language/ref/ListPointPlot3D.html (updated 2025).

CMS

Wolfram Language. 2007. "ListPointPlot3D." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2025. https://reference.wolfram.com/language/ref/ListPointPlot3D.html.

APA

Wolfram Language. (2007). ListPointPlot3D. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ListPointPlot3D.html

BibTeX

@misc{reference.wolfram_2025_listpointplot3d, author="Wolfram Research", title="{ListPointPlot3D}", year="2025", howpublished="\url{https://reference.wolfram.com/language/ref/ListPointPlot3D.html}", note=[Accessed: 22-February-2026]}

BibLaTeX

@online{reference.wolfram_2025_listpointplot3d, organization={Wolfram Research}, title={ListPointPlot3D}, year={2025}, url={https://reference.wolfram.com/language/ref/ListPointPlot3D.html}, note=[Accessed: 22-February-2026]}