[rrd-developers] Re: Area above area and RPN Exp.

Anuj Jain anujjain at sbcglobal.net
Tue Jun 22 20:17:21 MEST 2004


Hi 
I am trying to plot the grapg using area, In my
example i have 3 DS but i want to have n DS and shud
be able to plot the graph using area. I want the
highest value of the DS shud be plotted first, then
the next , then next and the last would be the lowest
value. I SEARCHED the archive but couldnt find
anything.
Could any one please please help me out.
Heres an example with 3 DS i was trying but it says
"Attempting to reuse the DS"

rrdtool graph \
test.jpg \
 --start -1w \
--height 220 --width 600  \
--vertical-label="(+ Inbound / - Outbound)"  \
--alt-autoscale  \
--title="Traffic" \
DEF:IN1=test.rrd:p1:MAX \
DEF:IN6=test.rrd:p6:MAX \
DEF:IN17=test.rrd:p17:MAX \
CDEF:MAX1=IN1,IN6,MAX,17,MAX \
CDEF:IN1=MAX1,IN1,EQ,UNKN,IN1,IF \
CDEF:IN6=MAX1,IN6,EQ,UNKN,IN6,IF \
CDEF:IN17=MAX1,IN17,EQ,UNKN,IN17,IF \
CDEF:MAX2=IN1,IN6,MAX,IN17,MAX \
CDEF:IN1=MAX1,IN1,EQ,UNKN,IN1,IF \
CDEF:IN6=MAX1,IN6,EQ,UNKN,IN6,IF \
CDEF:IN17=MAX1,IN17,EQ,UNKN,IN17,IF \
CDEF:MAX3=IN1,IN6,MAX,IN17,MAX \
AREA:MAX1#FC2B1C:MAX1 \
AREA:MAX2#070CF7:MAX2 \
AREA:MAX3#03FB03:MAX3 \

Thanks & Regards
Anuj

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



More information about the rrd-developers mailing list