[rrd-users] Re[2]: Re: Base for AREA plots
Sergey Velikanov [UzPAK]
vgray at uzpak.uz
Thu Oct 21 14:51:07 MEST 2004
I think again, and add new CDEF and new AREA operators, now it works
fine! see http://vgray.uzpak.uz/test.png again, and you don't need to
patch rrdtool
rrdtool graph /home/httpd/www/user1/httpdocs/test.png --imgformat PNG \
--start -9hours --end -4hours --width 580 --height 172 \
--title="Test" \
"DEF:value=/root/test.rrd:temp:AVERAGE" \
"CDEF:base0=value,value,-," \
"CDEF:base10=base0,10,-," \
"CDEF:base20=base0,20,-," \
"CDEF:value2=value,0,LE,value,0,IF " \
"CDEF:c3=value,0,GT,value,5,GT,5,value,0,-,IF,0,IF" \
"CDEF:c4=value,5,GT,value,10,GT,5,value,5,-,IF,0,IF" \
"CDEF:c5=value,10,GT,value,15,GT,5,value,10,-,IF,0,IF" \
"CDEF:c6=value,15,GT,value,20,GT,5,value,15,-,IF,0,IF" \
"CDEF:c7=value,20,GT,value,25,GT,5,value,20,-,IF,0,IF" \
"CDEF:c8=value,25,GT,value,30,GT,5,value,25,-,IF,0,IF" \
"CDEF:c9=value,30,GT,value,100,GT,5,value,30,-,IF,0,IF" \
"AREA:base20#0B33FF:" \
"AREA:base10#FF6666:" \
"AREA:value2#FFFFFF:" \
"LINE2:value#000000:" \
"AREA:base0#FFFFFF:" \
"STACK:c3#13931E:" \
"STACK:c4#3FAADB:" \
"STACK:c5#8AC608:" \
"STACK:c6#CDCD04:" \
"STACK:c7#F4CE01:" \
"STACK:c8#FFA700:" \
"STACK:c9#FF5F00:"
PS: 2Christopher Sorry for so many latters, that i sent )
>-----Original Message-----
>From: Christopher Snell <chris.snell at gmail.com>
>To: "Sergey Velikanov [UzPAK]" <vgray at uzpak.uz>
>Date: Thursday, October 21, 2004, 12:14:32 PM
>Subject: [rrd-users] Re: Base for AREA plots
> On Thu, 21 Oct 2004 10:39:09 +0500, Sergey Velikanov [UzPAK]
> <vgray at uzpak.uz> wrote:
>> As a practice I decide solve you problem, at http://vgray.uzpak.uz/test.png
>> you can see my solution (but if temperature become less 0, than my solution draw wrong
>> picture )
> I think my solution (posted in another thread) has the same problem:
> values less than 0 will draw from 0 downwards instead of -20 upwards.
> This RPN is burning my brain--it almost seems like it would be easier
> to patch RRDtool to enable alternate baselines, than to figure out the
> RPN required to do this. :(
> Chris
--
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