ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/gcomp.1
Revision: 1.4
Committed: Tue Sep 4 17:36:40 2007 UTC (16 years, 9 months ago) by greg
Branch: MAIN
CVS Tags: rad5R4, rad5R2, rad4R2P2, rad5R0, rad5R1, rad4R2, rad4R1, rad4R0, rad3R9, rad4R2P1, rad5R3, HEAD
Changes since 1.3: +2 -2 lines
Log Message:
Added backslashes in front of hyphens (thanks to Bernd Zeimetz for his effort)

File Contents

# User Rev Content
1 greg 1.4 .\" RCSid "$Id: gcomp.1,v 1.3 2004/01/01 19:31:44 greg Exp $"
2 greg 1.1 .TH GCOMP 1 6/24/98 RADIANCE
3     .SH NAME
4     gcomp - do computations on a graph file.
5     .SH SYNOPSIS
6     .B gcomp
7     [
8     .B -amilh
9     ][
10     .B +variable value ..
11     ][
12     .B file ..
13     ]
14     .SH DESCRIPTION
15     .I Gcomp
16     reads each graph
17     .I file
18     in sequence and computes the specified calculations.
19     The type options are as follows:
20     .TP 10n
21     .BR \-n
22     Print the name of each curve.
23     .TP
24     .BR \-a
25     Print average and standard deviation of each curve.
26     .TP
27     .BR \-m
28     Print minimum and maximum for each curve.
29     .TP
30     .BR \-i
31     Print Romberg's approximation to the integral of each curve.
32     .TP
33     .BR \-l
34     Print the slope, intercept, and correlation coefficient using
35     the least squares method of linear regression.
36     .TP
37     .BR \-h
38     Do not print a header in the output.
39     .PP
40     The calculations will be displayed as columns in the order
41     they are specified on the command line.
42     If no files are given, the standard input is read.
43     .PP
44     Variables can be set explicitly with
45     .I +variable value
46     options.
47     The only truely useful variables for this program
48     are xmin and xmax.
49     They determine boundaries for the calculations.
50     .SH EXAMPLE
51     To compute the approximate integral of sin(x)/log(x) from 2 to 4:
52     .nf
53 greg 1.4 gcomp \-i
54 greg 1.1 A(x)=sin(x)/log(x);
55     Anpoints=100;
56     xmin=2;
57     xmax=4;
58     ^D
59     .fi
60     .SH AUTHOR
61     Greg Ward
62     .SH BUGS
63     Only the y values can be used for computation.
64     .SH "SEE ALSO"
65 greg 1.3 bgraph(1), dgraph(1), icalc(1), igraph(1)