[rrd-users] Re: Plot a dotted line

Simone Morandini simone.morandini at mix-it.net
Tue Nov 22 16:03:51 MET 2005


Alex van den Bogaerdt wrote:

>Also be aware that "ds1,ds1,/" is not always 1.  It will fail if
>ds1 is zero, infinite or unknown.
>  
>
Thanks for this, I'll take care of.

>It looks as if you do not end up with either 0 or 1.  Quite remarkable
>for an integer division by 2.  I think this test is useless.
>
>"TIME,3600,one,*,/,2,%" should result in either 0 or 1.
>
As you say, it should, but it doesn't: I tryed
"CDEF:dotted=TIME,3600,one,*,/,2,%", and "dotted" is displayed as a
sawtooth:
http://img393.imageshack.us/img393/9558/dotted5dh.png

So, comparing this result with a number between 0 and 2 determines the
length of the segments in the line.

Simone.

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