[rrd-users] How to graph angling connections between points
Su, Tina
tingsu at amazon.com
Wed Apr 16 19:32:19 MEST 2003
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hi,=20
I'm trying to do a simple graph with a few given static points (only one =
for each day)=20
and I wanted a graph that connects all the points rather than a =
horizontal line in between two intervals (Where the value is held for =
the whole 24 hours instead of it just being a point and the line angling =
towards the next point).
I've tried a few things but came out unsuccessful. I've attached the =
graph I ended up with.
Here's what I had:
rrdtool create partials.rrd \
--start 1041379199 \
--step 86400 \
DS:a:GAUGE:90000:0:100 \
DS:b:GAUGE:90000:0:100 \
DS:c:GAUGE:90000:0:100 \
RRA:MAX:0:1:7=20
rrdtool update partials.rrd \
1041379200:81:0:55 \
1041465600:50:20:70 \
1041552000:75:22:30 \
1041638400:35:50:45 \
1041724800:40:60:62 \
1041811200:60:75:26 \
1041897600:52:42:70 =20
rrdtool graph partials.gif \
--start 1041379199 --end 1041897601 -h 300 \
--title "Partials % of Total Shipments (Weekly)" \
--vertical-label "Percent (%)" \
--upper-limit 100 --rigid \
--lower-limit 0 \
DEF:a=3Dpartials.rrd:a:MAX \
DEF:b=3Dpartials.rrd:b:MAX \
DEF:c=3Dpartials.rrd:c:MAX \
LINE3:a#00CCFF:"a" \
LINE3:b#00AA00:"b"\
LINE3:c#000099:"c"
<<partials.gif>>=20
If anyone can give me a hand with this, that'd be great!
Thanks in advanced!
Tina
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/gif
-- Desc: partials.gif
-- Size: 37k (38683 bytes)
-- URL : http://www.ee.ethz.ch/~slist/pantomime/partials.gif
--
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