summaryrefslogtreecommitdiffstats
path: root/doc/cdf.1
diff options
context:
space:
mode:
authorDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-09-19 17:08:40 -0400
committerDouglas B. Rumbaugh <doug@douglasrumbaugh.com>2025-09-19 17:08:40 -0400
commit700b91c8047c0e96d319097c9bc95f70cca744f1 (patch)
tree2a3ef2dd5e5b6a18614d0bde4fe80705cb5d24e3 /doc/cdf.1
parent292c5fb43f5402bcbd2c26607543f5bfc815e8e5 (diff)
downloadmath-utils-700b91c8047c0e96d319097c9bc95f70cca744f1.tar.gz
Documentation updatesHEADmaster
Diffstat (limited to 'doc/cdf.1')
-rw-r--r--doc/cdf.17
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/cdf.1 b/doc/cdf.1
index 06f3a49..00d27a3 100644
--- a/doc/cdf.1
+++ b/doc/cdf.1
@@ -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