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
Define scatter graph points by RGB value
Moderator: DPlotAdmin
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
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
support@dplot.com
- DPlotAdmin
- Posts: 2312
- Joined: Tue Jun 24, 2003 9:34 pm
- Location: Vicksburg, Mississippi
- Contact:
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.
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
support@dplot.com