[rrd-users] Re: Graph question - multiple graphs from same DS
ringert at consumption.net
Sat Nov 3 00:28:25 MET 2001
Well, this might be easier:
1) Generate a png image for each time series you want to look at.
For example, lets do one for today, and one for ysterday.
2) Now take all of the data lines from the first graph, and superimpose
them onto the second.
Repeat if you want more than two graphs as the composite.
This works, and you can see an example perl script here:
Essentially, the program uses PerlMagick to walk the first image. For
each pixel, check to see if we should copy it to the next image. It's
not that fast, doing a 650x350 image in 5seconds, but seems reasonable.
On Fri, 2 Nov 2001, David Gabler wrote:
> Thank you for confirming my thoughts. Strange I never though of it as
> different time offsets (the obvious way to explain it). That probably would
> have helped my archive searches.
> -----Original Message-----
> From: Clifton Royston [mailto:cliftonr at lava.net]
> Sent: Wednesday, October 31, 2001 3:05 PM
> To: David Gabler
> Cc: rrd-users at list.ee.ethz.ch
> > I figure I can do this if I do dump, pull the data from the dump I want
> > graph, turn to proper xml format, restore the data to a rrd and then
> > 4 diff DS's.
> > Just curious if there is an easier way.
> That sounds like it would work, and no, there probably isn't an easier
> -- Clifton
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users