[rrd-users] Re: Fill color for unknown data

Rhett Hooper rhett.hooper at usurf.usu.edu
Thu Jul 3 04:53:57 MEST 2003


Serge Maandag wrote:
> I'm not sure I totally understand what you're trying to make it look like, but can't you just say:
> 
>     "DEF:avgtemp=$RRDFile:HourAvgAirTemp:AVERAGE",
>     "CDEF:unknownpos=avgtemp,UN,INF,UNKN,IF",
>     "CDEF:unknownneg=avgtemp,UN,NEGINF,UNKN,IF",
>     "AREA:unknownpos#000000",
>     "AREA:unknownneg#000000",
>     "LINE1:avgtemp#FF0000:Average\\l",

Thank you.  That is exactly what I wanted.  Looking at it now, it seems
like it should have been obvious once I realized that the AREA function
starts from 0.

Thanks also to Tobias for some great software.

-- 
J. Rhett Hooper <rhett.hooper at sdl.usu.edu>
USU Research Foundation / Space Dynamics Laboratory
GPG Public Key 0x9049E3BC available at http://www.keyserver.net/

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