Class Plot3D.Scatter

Enclosing class:
Plot3D

public static final class Plot3D.Scatter extends Plot3D.Layer<Plot3D.Scatter>
A scatter plot: spheres at the points.
  • Method Details

    • size

      public Plot3D.Scatter size(double radius)
      The radius of the spheres (the box has the size 10, default 0.12).
    • values

      public Plot3D.Scatter values(double[] values)
      The colors of the points by values (with the color map, default VIRIDIS).
    • colors

      public Plot3D.Scatter colors(int[] colors)
      A color (0xRRGGBB) for each point.
    • dropLines

      public Plot3D.Scatter dropLines(boolean dropLines)
      Lines from the points to the floor.