X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_rpn.pod;h=2e29112ee785be2deea4c29041d920a170e26a99;hb=cc9a9cf99286d4a6a01ef1ca9f53ba2f7765307b;hp=21661ba6f7138646909bb1f5e6a9ade92c7bd4c7;hpb=f9e62abf5664d61987e111e4f1f9388e506a10ff;p=rrdtool.git diff --git a/doc/rrdgraph_rpn.pod b/doc/rrdgraph_rpn.pod index 21661ba..2e29112 100644 --- a/doc/rrdgraph_rpn.pod +++ b/doc/rrdgraph_rpn.pod @@ -9,7 +9,8 @@ I:=I|I|I[,I] =head1 DESCRIPTION If you have ever used a traditional HP calculator you already know -B. The idea behind B is that you have a stack and push +B (Reverse Polish Notation). +The idea behind B is that you have a stack and push your data onto this stack. Whenever you execute an operation, it takes as many elements from the stack as needed. Pushing is done implicitly, so whenever you specify a number or a variable, it gets @@ -357,12 +358,13 @@ the number of seconds. Example: C -=item PERCENT +=item PERCENT, PERCENTNAN This should follow a B or B I. The I is popped, another number is popped which is a certain percentage (0..100). The data set is then sorted and the value returned is chosen such that I percent of the values is lower or equal than the result. +For PERCENTNAN I values are ignored, but for PERCENT I values are considered lower than any finite number for this purpose so if this operator returns an I you have quite a lot of them in your data. Binite numbers are lesser, or more, than the @@ -370,6 +372,7 @@ finite numbers and are always more than the I numbers. (NaN E -INF E finite values E INF) Example: C + C =item LSLSLOPE, LSLINT, LSLCORREL @@ -398,4 +401,5 @@ Make sure to read L for tipsEtricks. Program by Tobias Oetiker Etobi@oetiker.chE -This manual page by Alex van den Bogaerdt Ealex@ergens.op.het.netE +This manual page by Alex van den Bogaerdt Ealex@vandenbogaerdt.nlE +with corrections and/or additions by several people