View previous topic :: View next topic |
Author |
Message |
matious
Joined: 24 Sep 2012 Posts: 2
|
Posted: Mon Sep 24, 2012 4:00 am Post subject: Define scatter graph points by RGB value |
|
|
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 |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Mon Sep 24, 2012 8:10 am Post subject: |
|
|
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 |
|
Back to top |
|
|
matious
Joined: 24 Sep 2012 Posts: 2
|
Posted: Tue Sep 25, 2012 8:06 am Post subject: |
|
|
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? |
|
Back to top |
|
|
DPlotAdmin Site Admin
Joined: 24 Jun 2003 Posts: 2310 Location: Vicksburg, Mississippi
|
Posted: Tue Sep 25, 2012 1:16 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
|