[rrd-users] Re: color tones

Erik de Mare erik at oezie.org
Fri May 6 17:20:14 MEST 2005

I tried to make that also, what I got was this 
http://haas.oezie.org/rrd/haas-day-proces.png, from green to red. the 
problem now is that I can't graph negative numbers. her is a piece of 
perl code I made:

  @color = ('00FF00','11FF00','22FF00','33FF00','44FF00','55FF00','66FF00','77FF00','88FF00','99FF00','AAFF00','BBFF00',

  $letter = 'a';
    $control = ($i+1)*($Size/@color);
    $fac = $Size/@color;
    $value = $i*($Size/@color);
#   print "CDEF:$letter=totaal,$control,GE,$fac,totaal,$value,-,0,LE,UNKN,totaal,$value,-,IF,IF\n";
  $letter = 'a';

where total is the DEF that you are graphing.


maybe this will help you as a start.


Erik de Mare

Alexander Krogloth wrote:

>i want to know how to make rrdgraphs with these good-looking color tones
>--> http://people.ee.ethz.ch/~oetiker/webtools/rrdtool-1.0.x/gallery/beaumont-01.html
>i don't know how to set up the graph that there isn't a line where the
>color changes from red to yellow but the change the color slowly ....
>thx for help

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

More information about the rrd-users mailing list