[drraw-users] PERCENTILE in a CDEF ?

Gabriel Somlo gsomlo at gmail.com
Thu Jan 31 21:35:01 EST 2008


I'm now playing with rrdtool 1.3beta3 and drraw 2.2a4. I can do a percentile
by adding a VDEF that says 'a,95,PERCENT' which gives me a horizontal
line, and that's great.

Now, I'm trying to scale this by 8, but when I do 'a,95,PERCENT,8,*' or
'a,8,*,95,PERCENT' I get an error:

Unknown function string '95,PERCENT,8,*' in VDEF 'I'

I tried "cheating" by having another CDEF (or VDEF) refer to 'i'
(i.e., the sequence letter associated with the aforementioned VDEF)
but to no avail:

Not a valid vname: - in line VDEF:K=-,i,8,*

Tried the 'a,POP,i,8,*' trick also, but still no dice:

Unknown function string 'POP,i,8,*' in VDEF 'K'

Any way to "scale" a PERCENTILE VDEF that I missed ?
(oh, it's not just that I want to scale by 8, but also in some cases
multiply by -1, to get things to show up on the negative side of
the y axis...)

Thanks a ton,
Gabriel


More information about the drraw-users mailing list