September 9, 1988

PAW version 1.03/06

 
 
  1-    The commands FUNCTION/FUN1, FUN2 and PLOT have been modified:
        =============================================================
 
 
  * FUNCTION/FUN1  ID UFUNC NCX XMIN XMAX [ CHOPT ] 
 
    ID         I 'Histogram Identifier'  
    UFUNC      C 'Name of the function' D='X'  
    NCX        I 'Number of channels' D=100  
    XMIN       R 'Low edge' D=0  
    XMAX       R 'Upper edge' D=100  
    CHOPT      C 'Options' D='P'  
 
    Create a one dimensional histogram and fill the bins with the   
    values of a (single-valued) function.   
    The function UFUNC may be given in two ways:
    -An expression of the variable x in case of a simple function.  
 
     Ex: FUN1  10 sin(x)/x  100 0 10
 
    -UFUNC is the name of a COMIS function in a text file with the  
    name UFUNC.FTN or UFUNC.FOR or UFUNC FORTRAN (Apollo, VAX, IBM).
    If CHOPT='P' the function is drawn. 
 
 
 
  * FUNCTION/FUN2  ID UFUNC NCX XMIN XMAX NCY YMIN YMAX [ CHOPT ] 
 
    ID         I 'Histogram (2-Dim) Identifier'  
    UFUNC      C 'Name of the function'  
    NCX        I 'Number of channels in X' D=40  
    XMIN       R 'Low edge in X' D=0  
    XMAX       R 'Upper edge in X' D=40  
    NCY        I 'Number of channels in Y' D=40  
    YMIN       R 'Low edge in Y' D=0  
    YMAX       R 'Upper edge in Y' D=40  
    CHOPT      C 'Options' D='S' R=' ,S,L,C' 
 
    Create a two dimensional histogram and fill 
    the bins with the values of a (two valued) function.
    The function UFUNC may be given in two ways:
    -An expression of the variables x and y in case of a simple function.   
 
     Ex: FUN2  10 abs(sin(x**2+y**2)) 40 -2 2 40 -2 2 C 
 
    -UFUNC is the name of a COMIS function in a text file with the  
    name UFUNC.FTN or UFUNC.FOR or UFUNC FORTRAN (Apollo, VAX, IBM).
    UFUNC is the name of a function in a text file with the 
    name UFUNC.FTN or UFUNC.FOR or UFUNC FORTRAN (Apollo, VAX, IBM).
    If CHOPT='S' the function is drawn as a surface.
    If CHOPT='L' the function is drawn as a lego plot.  
    If CHOPT='C' the function is drawn as a contour plot.   
 
 
 
  * FUNCTION/PLOT  UFUNC XLOW XUP [ CHOPT ] 
 
    UFUNC      C 'Name of function'  
    XLOW       R 'Lower limit'  
    XUP        R 'Upper limit'  
    CHOPT      C 'Options' D=' ' R=' ,C,S,+,L,P,*' 
 
    Plot function UFUNC between XLOW and XUP.   
    The function UFUNC may be given in two ways:
    -An expression of the variable x in case of a simple function.  
 
     Ex: FUN/PLOT   sin(x)/x  0 10  
 
    -UFUNC is the name of a COMIS function in a text file with the  
    name UFUNC.FTN or UFUNC.FOR or UFUNC FORTRAN (Apollo, VAX, IBM).
    The number of points to evaluate the function between XLOW and XUP  
    can be changed by the command /FUN/POINTS. Only 1-Dim functions 
    are supported. For 2-Dim use FUN2.  
    CHOPT may be a combination of the following characters: 
 
     'C' Draw a smooth curve (default if CHOPT not specified)   
     'S' Superimpose plot on top of existing picture.   
     '+' Add contents of ID to last plotted histogram.  
     'L' Connect channel contents by a line.
     'P' Draw the current polymarker at each channel.   
     '*' Draw a * at each channel.  
 
    For example, if the file FTEST.FOR contains:
 
          FUNCTION FTEST(X) 
          FTEST=SIN(X)*EXP(-0.1*X)  
          END   
 
    Then, FUN/PLOT FTEST.FOR 0 10, will interpret the Fortran   
    code in the file FTEST.FOR and draw the function for x  
    between 0 and 10.   
 
 
  2-    Extension of selection mechanisms for Ntuples
        =============================================
 
         The maximum length of the selection expression has been changed
         from 72 to 255 characters.
 
 
  3-    Commands TEXT and ITX
        =====================
 
        The x and y coordinates for the text to be drawn can now be given
        in units of the current normalisation transformation.
        The text size is always given in centimetres.
 
 
  4-    New options ZFL1 and GRID in HPLOT
        ==================================
 
        If the option GRID is selected via OPTION GRID, then a grid will be
        drawn on all subsequent plots. Option NGRI turns off this option.
 
        The option ZFL1 is a variant of ZFL. If ZFL1 is selected, then only
        one picture will be kept in HIGZ memory. This option is very convenient
        to write on a metafile the latest picture on the screen. Contact the
        PAW team to get an example of macro doing that automatically.
 
  5-    Metafiles
        =========
 
        In the command METAFILE, POSTSCRIPT and TEKTRONIX metafiles are now
        available.
        Ex:
             META 10 12201   activates the POSTSCRIPT metafile (Vertical)
             META 10 101           "   TEKTRONIX"
             META 10 12202   POSTSCRIPT metafile (Horizontal) 
 
  6-    HELP
        ====
 
        The HELP text has been improved for many commands.

Release NotesKnown bugsFAQsContributionsTutorialReference manualDown loadMiscellaneous

Paw.Support@cern.ch