[rrd-users] [rrd-users]Re: php rrdgraph
Martin Hoppe
martin.hoppe at nordwind-ev.de
Wed May 31 10:07:46 MEST 2006
Thanks for your answer,
but "^" is not supported.
I get the following error message: invalid rpn expression in:
windspeed,.694,^,1.102,*
Did somebody knows the correct expression?
Martin
-----Ursprüngliche Nachricht-----
Von: MrPaul [mailto:mrpaular at gmail.com]
Gesendet: Dienstag, 30. Mai 2006 22:39
An: Martin Hoppe
Betreff: Re: [rrd-users] php rrdgraph
Replying off list as I'm not positive of my answer but maybe it'll get you
started enough to fix it if it's wrong.
DEF:windspeed_ms=windspeed.rrd:windspeed:AVERAGE
CDEF:windspeed_bft=windspeed_ms,.694,^,1.102,*
LINE2:windspeed_ms
LINE2:windspeed_bft
I'm not sure if "^" is supported.
Good Luck,
Paul
On 5/30/06, Martin Hoppe <martin.hoppe at nordwind-ev.de> wrote:
> Hi,
> I want to calculate the windspeed from m/s in beaufort before I draw
> the graph.
> The equation is: windspeed [bft] = (windspeed [m/s] ^ 0.694)*1.102
>
> This is the php-code: $windspeed_bft = pow($windspeed_ms,0.694)*1.102;
>
> But how can I write this with php-rrdgraph?
>
> CDEF: ???
>
> Best regards
>
> Martin
>
>
> --
> 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://lists.ee.ethz.ch/rrd-users
> WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
>
>
--
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://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list