On 2002.10.15_22:59:22_+0000, Stanley Hopcroft wrote: > > Dear Ladies and Gentlemen, >
Hi Stanley, > I am writing to say that I'd hoped to clip data before graphing it with > something like > > CDEF:clipped=x,UpperBound,GT,UpperBound,x,IF,LowerBound,LT,LowerBound,x,IF > > (the intent is that clipped is x: LowerBound <= x <= UpperBound. I > thought the CDEF would evaluate to > min(x,UpperBound),LowerBound,LT,LowerBound,x,IF. Perhaps this is what I > should have done in the first place.) > You might want something like: CDEF:clipped=x,LowerBound,LE,LowerBound,x,UpperBound,LE,x,UpperBound,IF,IF I haven't tested it yet, CMIIW. Notice that LE was used instead of LT. > The pair of CDEFs > > CDEF:cliptop=x,UpperBound,GT,UpperBound,x,IF > CDEF:clipped=cupper,LowerBound,LT,LowerBound,cliptop,IF > > work quite happily. May be you mean: CDEF:cliptop=x,UpperBound,GE,UpperBound,x,IF CDEF:clipped=cliptop,LowerBound,LE,LowerBound,cliptop,IF It improves the readability, IMHO. > Yours sincerely. > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ > > '...No man is an island, entire of itself; every man is a piece of the > continent, a part of the main. If a clod be washed away by the sea, > Europe is the less, as well as if a promontory were, as well as if a > manor of thy friend's or of thine own were. Any man's death diminishes > me, because I am involved in mankind; and therefore never send to know > for whom the bell tolls; it tolls for thee...' > > from Meditation 17, J Donne. > -- H. D. Lee -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
