Serge Maandag wrote: >>I'm struggling a bit with something so simple and stupid, but >>something that is integral to the whole idea... what colours to use? >> >>I have a total of 20 DS's, and sometimes will want all of >>these to be displayed on a single graph, however, getting the >>definition between the colours is quite akward, so I'm >>looking for recommendations of colours to be used that are >>very different to each other so I can get a 'clear' graph! > > > > Good question. I once struggled with this too. > The way I solved it was to convert rgb to hsv. That way you get > A color wheel. You can then pick colors at even spaced angles > From the wheel. For instance if you need 6 colors, take one > With h=0, one with h=60, one with h=120 and so on. > > This will not give you perfect results. You may also want to > Change S and V with each color. Let me know if you found a good > Algorithm for that :)
Just to follow up on this thread, I ran across the following Perl code to do something that appears to be what the OP was looking for: http://www.perlmonks.org/index.pl?node_id=441359 Hope this helps, David -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
