From ba4267c667e74551573483b6ed76dcfe1051a1e5 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 14 Mar 2011 23:45:45 -0700 Subject: [PATCH] minor corrections to POD --- README.pod | 18 +++++++++--------- bin/feedGnuplot | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/README.pod b/README.pod index 8dc195c..42b47f7 100644 --- a/README.pod +++ b/README.pod @@ -34,8 +34,8 @@ output and streaming display of live data. A simple example: You should see a plot with two curves. The C command generates some data to plot and the C reads it in from STDIN and generates the plot. The -C invocation is just an example; more interesting things would be plotted in -normal usage. None of the commandline-options are required for the most basic +C invocation is just an example; more interesting things would be plotted +in normal usage. No commandline-options are required for the most basic plotting. Input parsing is flexible; every line need not have the same number of points. New curves will be created as needed. @@ -43,7 +43,7 @@ The most commonly used functionality of gnuplot is supported directly by the script. Anything not directly supported can still be done with the C<--extracmds> and C<--curvestyle> options. Arbitrary gnuplot commands can be passed in with C<--extracmds>. For example, to turn off the grid, pass in -C<--extracmds 'unset grid'>. As many of these options as needed can be pased +C<--extracmds 'unset grid'>. As many of these options as needed can be passed in. To add arbitrary curve styles, use C<--curvestyle extrastyle>. Pass these more than once to affect more than one curve. To apply an extra style to I the curves, pass in C<--curvestyleall extrastyle>. @@ -51,18 +51,18 @@ the curves, pass in C<--curvestyleall extrastyle>. =head2 Data formats By default, each value present in the incoming data represents a distinct data -point, as demonstrated in the above example (we had 10 numbers in the input and -10 points in the plot). If requested, the script supports more sophisticated -interpretation of input data +point, as demonstrated in the original example above (we had 10 numbers in the +input and 10 points in the plot). If requested, the script supports more +sophisticated interpretation of input data =head3 Domain selection If C<--domain> is passed in, the first value on each line of input is interpreted as the I-value for the rest of the data on that line. Without C<--domain> the I-value is the line number, and the first value on a line is -a plain data point like the others. Default is C<--nodomain>. Thus the example -above produces 2 curves, with B<1,2,3,4,5> as the I-values. If we run the -same command with --domain: +a plain data point like the others. Default is C<--nodomain>. Thus the original +example above produces 2 curves, with B<1,2,3,4,5> as the I-values. If we run +the same command with --domain: $ seq 5 | awk '{print 2*$1, $1*$1}' | feedGnuplot --domain diff --git a/bin/feedGnuplot b/bin/feedGnuplot index cff6ec7..df34939 100755 --- a/bin/feedGnuplot +++ b/bin/feedGnuplot @@ -691,8 +691,8 @@ output and streaming display of live data. A simple example: You should see a plot with two curves. The C command generates some data to plot and the C reads it in from STDIN and generates the plot. The -C invocation is just an example; more interesting things would be plotted in -normal usage. None of the commandline-options are required for the most basic +C invocation is just an example; more interesting things would be plotted +in normal usage. No commandline-options are required for the most basic plotting. Input parsing is flexible; every line need not have the same number of points. New curves will be created as needed. @@ -700,7 +700,7 @@ The most commonly used functionality of gnuplot is supported directly by the script. Anything not directly supported can still be done with the C<--extracmds> and C<--curvestyle> options. Arbitrary gnuplot commands can be passed in with C<--extracmds>. For example, to turn off the grid, pass in -C<--extracmds 'unset grid'>. As many of these options as needed can be pased +C<--extracmds 'unset grid'>. As many of these options as needed can be passed in. To add arbitrary curve styles, use C<--curvestyle extrastyle>. Pass these more than once to affect more than one curve. To apply an extra style to I the curves, pass in C<--curvestyleall extrastyle>. @@ -708,18 +708,18 @@ the curves, pass in C<--curvestyleall extrastyle>. =head2 Data formats By default, each value present in the incoming data represents a distinct data -point, as demonstrated in the above example (we had 10 numbers in the input and -10 points in the plot). If requested, the script supports more sophisticated -interpretation of input data +point, as demonstrated in the original example above (we had 10 numbers in the +input and 10 points in the plot). If requested, the script supports more +sophisticated interpretation of input data =head3 Domain selection If C<--domain> is passed in, the first value on each line of input is interpreted as the I-value for the rest of the data on that line. Without C<--domain> the I-value is the line number, and the first value on a line is -a plain data point like the others. Default is C<--nodomain>. Thus the example -above produces 2 curves, with B<1,2,3,4,5> as the I-values. If we run the -same command with --domain: +a plain data point like the others. Default is C<--nodomain>. Thus the original +example above produces 2 curves, with B<1,2,3,4,5> as the I-values. If we run +the same command with --domain: $ seq 5 | awk '{print 2*$1, $1*$1}' | feedGnuplot --domain