# [rrd-users] Changing X-Axis

j.halifax2 at seznam.cz j.halifax2 at seznam.cz
Tue Oct 18 06:25:41 CEST 2011

```Hi Francesco,

If you are dealing with efficiency, you probably need to visualize its values in time
moments of T = {t1, t2, ..., tn} in different levels of aggregations.

Say that you have one time series of the production P(ti) and another time series of
the consumption C(ti). You can calculate the efficiency time series as E(ti) =  F(P(ti),
C(ti)), where i = (1, 2, ..., n). Here F(P(ti), C(ti)) can be for example P(ti) / C(ti) or any
other reasonable function of the production and consumption.

If you can measure P(ti) and C(ti) in equidistant time moments (i.e. their periods of
t(i) - t(i-1) are constant), you can generate nice graphs of development of Efficiency
(which you are interesting in) in time.

Together with graphing P(ti) and C(ti), such graphs could tell your technology guys
much about dependence of their efficiency on the production, consumption and even
help them disclosing energy loss in the grid including illegal consumption etc.

Isn't it what you would like?

Regards,
Leos

> From: rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch
> [mailto:rrd-users-bounces+s.shipway=auckland.ac.nz at lists.oetiker.ch] On
> Behalf Of Francisco Abel Perea Mora
> Sent: Tuesday, 18 October 2011 11:59 a.m.
> To: rrd-users at lists.oetiker.ch
> Subject: [rrd-users] Changing X-Axis
>
>
>
> Hi,
>
>
>
> After searching for hours how to setup X-Axis I still have a question
>
> I'm working with energy efficency. We take measures from energy consumption
> and production at the same time. As an example say:
>
> Month            Energy Production
>
>                       [KWh] [Ton]
>
> march-98       138480            2161680
>
> april-98          122880            2103370
>
> may-98          155280            2401320
>
> jun-98            157920            2537565
>
> jul-98             159600            2303359
>
> aug-98           177600            2811775
>
>
>
> An so on. The interesting graph in this time series is Energy vs.
> Production. Is possible to graph this with RRDTool? By default X-Axis is
> always fixed to time series, but I need to change that to Production and
> setup Y-Axis to Energy. How could I do this?
>
>
>
>
>
>

```