How to Set Individual Colors for Points in a 3D Scatter Graph

Updated Nov 17, 2025

Environment

Software

  • LabVIEW

I'm using  3D scatter graph and want to set individual colors for the points in my plot.

The points in a single plor are always colored based on the plots color ramp. To color individual points there is two possibilities:

  1. Use individual plots
    You can add multiple plots to the graph, each having it's own color ramp with a constant, individual color. 
    Drawback: slower performance for many data points
  2. Use a custom color ramp
    You can keep the points in a single plot and define a color ramp that has multiple sub-sections for the range of individual datapoints.
    Drawback: two points with the exact same value can not have different colors.

Note: In order to use this snippet, download this image, and then drag and drop it on your LabVIEW block diagram.