Thanks for all the helpful suggestions everyone! I'm finally getting somewhere!
One more formatting question. I have a lot of trailing 0's in my legend. Is there an easy way to tell the GPRINT line to use say only 1 decimal place? Also, my gprint lines just happen to line up real nice because of their size, but how can I give them an absolute location? 14all.cgi seems to do this, justifying the legend and spacing the items out so they are aesthetically pleasing. Here's what I use to make the graph: rrdtool graph weather.gif --title "Weather RRD Graphing Test" \ --lazy --width 600 DEF:Humidity=weather.rrd:Humidity:AVERAGE \ DEF:Temperature=weather.rrd:Temperature:AVERAGE \ AREA:Humidity#0000AA:"Humidity" \ AREA:Temperature#FF0000:"Temperature\n" \ "GPRINT:Humidity:MAX:Maximum Humidity "%%lf \ "GPRINT:Temperature:MAX:Maximum Temperature "%%lf\n \ "GPRINT:Humidity:MIN:Minimum Humidity "%%lf \ "GPRINT:Temperature:MIN:Minimum Temperature "%%lf\n \ "GPRINT:Humidity:AVERAGE:Average Humidity "%%lf \ "GPRINT:Temperature:AVERAGE:Average Temperature "%%lf\n \ "GPRINT:Humidity:LAST:Current Humidity "%%lf \ "GPRINT:Temperature:LAST:Current Temperature "%%lf\n Which produces the attached graph. Thanks again for all the help! Eric Brander ACS Texas CHIP Account Sr. Communications Engineer - Information Systems Department 512.336.3331 Eric dot Brander at acs-inc dot com -- Attached file removed by Ecartis and put at URL below -- -- Type: image/gif -- Size: 25k (25908 bytes) -- URL : http://www.ee.ethz.ch/~slist/pantomime/02-weather.gif -- 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
