diff options
Diffstat (limited to 'doc/cdf.1')
| -rw-r--r-- | doc/cdf.1 | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -70,7 +70,7 @@ This format was selected to be compatible with the output of the uniq -c command .Sh EXIT STATUS .Ex -std .Sh EXAMPLES -Calculate CDF from integer data in a file: +Calculating the CDF of integer data in a file: .Bd -literal -offset indent $ cdf data.txt 0.300000000000000 10 @@ -78,7 +78,7 @@ $ cdf data.txt 1.000000000000000 20 .Ed .Pp -Generate complementary CDF in a pipeline: +Calculating the complementary CDF as part of a pipeline: .Bd -literal -offset indent $ awk '{print $2, $1}' measurements.dat | cdf -r -f 1.000000000000000 1.234000 @@ -86,7 +86,8 @@ $ awk '{print $2, $1}' measurements.dat | cdf -r -f 0.400000000000000 4.890000 .Ed .Pp -Use standard tools for pre-processing: +Using standard tools to preprocess a raw list of measurements +into a CDF: .Bd -literal -offset indent $ sort -n data.txt | uniq -c | cdf > dist.cdf .Ed |