[rrd-users] Re: rpn and cde

Clifton Royston cliftonr at lava.net
Tue Mar 27 20:57:02 MEST 2001

On Tue, Mar 27, 2001 at 08:14:57PM +0200, Mark Rowlands wrote:
> I have n lines defined and I wish to create a line showing the average of 
> these lines
> def a: blah def b: blah def c:blah
> I cannot figure out how to do this without an intermediate step
> def d: = a,b,c,+,+   =    (b+c)+a
> def e  = d,3,/         =    d/3

Just proceed from there:
  def d: = a,b,c,+,+,3,/

(I bet this question draws lots of responses!)
  -- Clifton

 Clifton Royston  --  LavaNet Systems Architect --  cliftonr at lava.net
   WWJD?   "JWRTFM!" - Scott Dorsey (kludge)   "JWG" - Eddie Aikau

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