X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2Frrdgraph_rpn.pod;h=6e31ea6d09916eda496096b02f23acb5ad7d6002;hb=ff2c56d197fc76e5f54d37fd8830369ca28d1420;hp=dfc9a0bda903e77d6538fa7cffe38eb079a4376e;hpb=81ed9c86d4042e31e147b53bf14da233b6524021;p=rrdtool.git diff --git a/doc/rrdgraph_rpn.pod b/doc/rrdgraph_rpn.pod index dfc9a0b..6e31ea6 100644 --- a/doc/rrdgraph_rpn.pod +++ b/doc/rrdgraph_rpn.pod @@ -30,7 +30,7 @@ of your RRD script. Example: C This means: push variable I, push the number 8, execute -the operator I<+>. The operator needs two elements and uses those +the operator I<*>. The operator needs two elements and uses those to return one value. This value is then stored in I. As you may have guessed, this instruction means nothing more than I. The real power of B lies in the @@ -139,6 +139,13 @@ Example: C will compute the average of the values v1 to v6 after removing the smallest and largest. +B + +Pop one element (I) from the stack. Now pop I elements and build the +average, ignoring all UNKNOWN values in the process. + +Example: C + B Create a "sliding window" average of another data series. @@ -296,6 +303,6 @@ Make sure to read L for tipsEtricks. =head1 AUTHOR -Program by Tobias Oetiker Eoetiker@ee.ethz.chE +Program by Tobias Oetiker Etobi@oetiker.chE This manual page by Alex van den Bogaerdt Ealex@ergens.op.het.netE