DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Define scatter graph points by RGB value

 
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions
View previous topic :: View next topic  
Author Message
matious



Joined: 24 Sep 2012
Posts: 2

PostPosted: Mon Sep 24, 2012 4:00 am    Post subject: Define scatter graph points by RGB value Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Mon Sep 24, 2012 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
matious



Joined: 24 Sep 2012
Posts: 2

PostPosted: Tue Sep 25, 2012 8:06 am    Post subject: Reply with quote

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
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Tue Sep 25, 2012 1:16 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> Suggestions/Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group