[rrd-users] changing y values on an up/down graph
Eric J. Bowser
ebowser at i-trap.net
Mon Jul 30 16:08:41 CEST 2007
I do not run a legend, I'm talking about the values on the y-axis itself, I
need them to be positive.
Attached is a sample of the graph I'm drawing now.
Thanks,
Eric
Simon Hobson wrote:
> Eric J. Bowser wrote:
>
>> I'd still like to graph my values in both directions from the "0" on the
>> x-axis. Is this possible, or will I have to put both values going upward?
>
>
> You mean you convert one set of values to negative (or collect them
> that way) so that they plot down from teh X axis, but you want the
> value printed in teh legend (with gprint) to be positive ?
>
> Just modify your definitions, eg if both are positive values then :
>
> value1=<some rrd selection>
> value2=<a different rrd selection>
>
> value2b=value2 * -1
>
> plot value1
> plot value2b
>
> print value1, value2
>
> So you print the positive value2, but plot the negative value2b
> derived from it.
>
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
>
>
--
Eric J. Bowser
I-TRAP Internet Security Services
888-658-8727 toll-free
330-658-0123 fax
www.i-trap.net
¨Quis Custodiet Ipsos Custodes?¨
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ids-2-day-addr-full.png
Type: image/png
Size: 15802 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070730/bf4944dd/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070730/bf4944dd/attachment.bin
More information about the rrd-users
mailing list