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:[EMAIL PROTECTED] 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 <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED] > Help mailto:[EMAIL PROTECTED] > Archive http://lists.ee.ethz.ch/rrd-users > WebAdmin http://lists.ee.ethz.ch/lsg2.cgi > > -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/rrd-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
