Define scatter graph points by RGB value

Have a suggestion for improving DPlot or a question about existing features? Let us know

Moderator: DPlotAdmin

Post Reply
matious
Posts: 2
Joined: Mon Sep 24, 2012 3:50 am

Define scatter graph points by RGB value

Post by matious »

I would like to make a 3D sscatter plot (X,Y,Z) where the color of each point is defined by a different RGB value. Is this possible?
Many thanks
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

You need a 4th dimension that the color will be tied to and you'd make a 4D scatter plot.
Visualize Your Data
support@dplot.com
matious
Posts: 2
Joined: Mon Sep 24, 2012 3:50 am

Post by matious »

Thanks
If say I wanted the first point to be ultra orage (RGB = 255, 96, 55) how would I enter this as a single number in the amplitude (4th) column of some Excel data?
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post by DPlotAdmin »

It doesn't work that way, though I'm thinking that would be a good addition.

If you have 256 or fewer points and want unique colors for every point, just set the 4th dimension to the point index (1 through whatever). In DPlot on the Scatter Plot Options dialog, select Amplitude under "Color Based on", select Custom colors, then click the adjacent >> button. There you can define up to 256 colors.

If you have more than 256 points but don't need more than 256 unique colors you'd just set the 4th dimension equal for every point that should be the same color.
Visualize Your Data
support@dplot.com
Post Reply