[rrd-users] Re: RPN for thresholds colors for LINE graphs

Sasha Mikheev sasha at netvision.net.il
Wed May 30 11:10:57 MEST 2001



You can not add points to CDEF variables. I was thinking that if I catch
a case of line intersecting threshold I can substitute threshold value
instead of current point. However RPN expression for this looks rather
complex and I did not figure it out yet :(. I am thinking of adding
function to the RPN calculator which will return value of the threshold
if it is crossed by CDEF variable or current value of the CDEF variable.

But at least I can do this for AREA type graphs.

On Wed, 30 May 2001, Serge Maandag wrote:

> 
> I'm using the same setup as you do. The main trouble with lines not
> starting at the threshold is that either you have a low amount of values
> to plot or your lines are too steep vertically. 
> 
> I tried it before by stacking the three lines and making the values UNKN
> when they passed the threshold, but that gives your lines an offset so
> they won't connect to each other anymore.
> 
> Perhaps it's possible to graph at double resolution, calculating the
> intermediate points so they are right on the threshold (haven't checked
> if it's possible) ?
> 
> Serge.
> 
> >It is still not exactly what I want since now red and yellow lines
> start
> >overlaying a bit higher then threshold and not exactly at the
> intersection
> >of threshold line and graph line :( Of course it is better then
> disconnected lines
> 
> 
> 
> --
> 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
> 

-- 
 Sasha Mikheev                      Linux -- put a penguin in your processor

 Avalon Net Ltd, CTO
 http://avalon-net.co.il/~sasha


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