[rrd-users] Re: CDEFs and graduated colors

Vargas, Miguel mvargas at tnsi.com
Wed Apr 30 22:50:52 MEST 2003


It would be nice if Dave Beaumont would post his scripts for generating  http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/gallery/beaumont-01.html

As a matter of fact, It would be nice if the code were available for all the gallery images.  They would server as great examples.

-----Original Message-----
From: Allan Houston [mailto:ahouston at blueyonder.co.uk]
Sent: Wednesday, April 30, 2003 8:32 AM
To: RRD Users
Subject: [rrd-users] CDEFs and graduated colors


Hi all,
Been trying to get my head round a little problem with RRD. I've set it up
to print some pretty flame graphs using CDEFs - basically by making 255
CDEFs each 1/255th of the data value and stacking them up with a color which
increments from blue to red.

What I was looking to do was come up with a way to have the color get redder
( i.e. hotter ) as the actual value increases. So for example a graph
showing data ranging from 0 - 25% would be a comforting blueish-purple ,
while one getting to 70 odd percent would have a blue base with a "flame"
that gets pretty red at the top of the graph.

The way I see it is that I'm not using the value of the CDEF to properly
reflect to data - I'm simply breaking it up into even parcels and making
them look pretty..

I'd _really_ appreciate a nudge in the right direction :)


--
Cheers,
Allan Houston
--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list