[rrd-users] Re: Good Colours to use on graphs?

This is a discussion on [rrd-users] Re: Good Colours to use on graphs? within the RRD Users forums, part of the Networking and Network Related category; > I'm struggling a bit with something so simple and stupid, but > something that is integral to the ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-10-2005
Serge Maandag
 
Posts: n/a
Default [rrd-users] Re: Good Colours to use on graphs?

> 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 :)

Here's example code for rgb -> hsv and hsv -> rgb code conversion.
Google will give you lots more.
http://www.cs.rit.edu/~ncs/color/t_convert.html

To see what the hsv colour wheel looks like, check:
http://tinyurl.com/4s8t6

Serge.

-------------
Op de inhoud van dit e-mailbericht en de daaraan gehechte bijlagen is de inhoud van de volgende disclaimer van toepassing: http://www.zeelandnet.nl/disclaimer.php

--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:49 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0