GCOMP(1)                                                              GCOMP(1)



NNAAMMEE
       gcomp - do computations on a graph file.

SSYYNNOOPPSSIISS
       ggccoommpp [ --aammiillhh ][ ++vvaarriiaabbllee vvaalluuee ....  ][ ffiillee ....  ]

DDEESSCCRRIIPPTTIIOONN
       _G_c_o_m_p reads each graph _f_i_l_e in sequence and computes the specified cal-
       culations.  The type options are as follows:

       --nn        Print the name of each curve.

       --aa        Print average and standard deviation of each curve.

       --mm        Print minimum and maximum for each curve.

       --ii        Print Romberg's approximation to the integral of each  curve.

       --ll        Print the slope, intercept, and correlation coefficient using
                 the least squares method of linear regression.

       --hh        Do not print a header in the output.

       The calculations will be displayed as columns in  the  order  they  are
       specified  on  the  command  line.  If no files are given, the standard
       input is read.

       Variables can be set explicitly with _+_v_a_r_i_a_b_l_e _v_a_l_u_e options.  The only
       truely  useful  variables  for  this  program  are xmin and xmax.  They
       determine boundaries for the calculations.

EEXXAAMMPPLLEE
       To compute the approximate integral of sin(x)/log(x) from 2 to 4:
            gcomp -i
            A(x)=sin(x)/log(x);
            Anpoints=100;
            xmin=2;
            xmax=4;
            ^D

AAUUTTHHOORR
       Greg Ward

BBUUGGSS
       Only the y values can be used for computation.

SSEEEE AALLSSOO
       bgraph(1), dgraph(1), icalc(1), igraph(1)



RADIANCE                            6/24/98                           GCOMP(1)
