Input Instructions for VIEWR

     ******************************************************************
     *                                                                *
     * character specifications are similar to disspla, except that   *
     * the default case is lower instead of upper.  this allows       *
     * mixed-case strings to be used in postscript mode.  the         *
     * following shift characters are used:                           *
     *     < = upper-case standard                                    *
     *     > = lower-case or mixed-case standard                      *
     *     [ = upper-case greek                                       *
     *     ] = lower-case or mixed-case greek                         *
     *     # = instructions                                           *
     * give one of the shift characters twice to get it instead of    *
     * its action.  the following instructions are supported:         *
     *     Ev = elevate by v as a fraction of the height              *
     *           if v is missing or D is given, use .5                *
     *     Lv = lower by v as a fraction of the height                *
     *           if v is missing or D is given, use .5                *
     *     Hv = change height by v as a fraction of the height        *
     *           if v is missing or D is given, use .5                *
     *     Fi = change to font number i                               *
     *     Mi = change mode number, where mode 0 is the lower 128     *
     *           postscript characters and mode 1 is the upper 128    *
     *     X  = reset E, L, or H.  Font and Mode must be              *
     *           reset explicitly.                                    *
     *     c is a real number, i is an integer.                       *
     *                                                                *
     *---input--------------------------------------------------------*
     *                                                                *
     *  card 1                                                        *
     *     infile        input file                                   *
     *     nps           postscript output file                       *
     *                                                                *
     *---data file format---------------------------------------------*
     *                                                                *
     *  card 1                                                        *
     *     lori          page orientation (def=1)                     *
     *                    0  portrait (7.5x10in)                      *
     *                    1  landscape (10x7.5in)                     *
     *     istyle        character style (def=2)                      *
     *                     1  roman                                   *
     *                     2  swiss                                   *
     *     size          character size option                        *
     *                     pos = height in page units                 *
     *                     neg = height as fraction of subplot size   *
     *                       (default=.30)                            *
     *     ipcol         page color (def=white)                       *
     *                    0=white                                     *
     *                    1=navajo white                              *
     *                    2=blanched almond                           *
     *                    3=antique white                             *
     *                    4=very pale yellow                          *
     *                    5=very pale rose                            *
     *                    6=very pale green                           *
     *                    7=very pale blue                            *
     *                                                                *
     * -----repeat cards 2 through 13 for each curve-----             *
     *                                                                *
     *  card 2                                                        *
     *     iplot         plot index                                   *
     *                     99 = terminate plotting job                *
     *                      1 = new axes, new page                    *
     *                     -1 = new axes, existing page               *
     *                      n = nth additional plot on existing axes  *
     *                     -n = start a new set of curves using       *
     *                          the alternate y axis                  *
     *                     default = 1                                *
     *     iwcol         window color (def=white)                     *
     *                    color list same as for ipcol above          *
     *     factx         factor for energies (default=1.)             *
     *     facty         factor for cross-sections (default=1.)       *
     *     xll,yll       lower-left corner of plot area               *
     *     ww,wh,wr      window width, height, and rotation angle     *
     *                   (plot area defaults to one plot per page)    *
     *                                                                *
     * -----cards 3 thru 7 for iplot = 1 or -1 only-----              *
     *                                                                *
     *  card 3                                                        *
     *     t1            first line of title                          *
     *                   60 characters allowed.                       *
     *                   default=none                                 *
     *                                                                *
     *  card 3a                                                       *
     *     t2            second line of title                         *
     *                   60 characters allowed.                       *
     *                   default=none                                 *
     *                                                                *
     *  card 4                                                        *
     *     itype         type for primary axes                        *
     *                     1 = linear x - linear y                    *
     *                     2 = linear x - log y                       *
     *                     3 = log x - linear y                       *
     *                     4 = log x - log y                          *
     *                     set negative for 3d axes                   *
     *                     0 = no plot, titles only                   *
     *                     default=4                                  *
     *     jtype         type for alternate y axis or z axis          *
     *                     0 = none                                   *
     *                     1 = linear                                 *
     *                     2 = log                                    *
     *                     default=0                                  *
     *     igrid         grid and tic mark control                    *
     *                     0 = no grid lines or tic marks             *
     *                     1 = grid lines                             *
     *                     2 = tic marks on outside                   *
     *                     3 = tic marks on inside                    *
     *                     default=2                                  *
     *     ileg          option to write a legend.                    *
     *                     0 = none                                   *
     *                     1 = write a legend block with upper left   *
     *                         corner at xtag,ytag (see below)        *
     *                     2 = use tag labels on each curve with      *
     *                         a vector from the tag to the curve     *
     *                     default=0                                  *
     *     xtag          x coordinate of upper left corner            *
     *                   of legend block                              *
     *     ytag          y coord of upper left corner                 *
     *                   default=upper left corner of plot            *
     *                                                                *
     *  card 5                                                        *
     *     xmin          lowest energy to be plotted                  *
     *     xmax          highest energy to be plotted                 *
     *     xstep         x axis step                                  *
     *                   default = automatic scales                   *
     *                   (for linear, give all 3, or none)            *
     *                   (for log, give first 2, or none)             *
     *                                                                *
     *  card 5a                                                       *
     *     xlabl         label for x axis                             *
     *                   60 characters allowed.                       *
     *                   (default = no label, no numbering)           *
     *                                                                *
     *  card 6                                                        *
     *     ymin          lowest value of y axis.                      *
     *     ymax          highest value of y axis.                     *
     *     ystep         step for y ayis (linear scales only)         *
     *                   default = automatic scales                   *
     *                   (for linear, give all 3, or none)            *
     *                   (for log, give first 2, or none)             *
     *                                                                *
     *  card 6a                                                       *
     *     ylabl         label for y axis                             *
     *                   60 characters allowed.                       *
     *                   (default = no label, no numbering)           *
     *                                                                *
     *  card 7   (jtype.gt.0 only)                                    *
     *     rmin          lowest value of secondary y axis or z axis   *
     *     rmax          highest value of secondary y axis or z axis  *
     *     rstep         step for secondary y axis or z axis          *
     *                   (default = automatic scale)                  *
     *                   (for linear, give all 3, or none)            *
     *                   (for log, give first 2, or none)             *
     *                                                                *
     *  card 7a  (jtype.gt.0 only)                                    *
     *     rl            label for alternate y axis or z axis         *
     *                   60 characters allowed.                       *
     *                   (default = no label, no numbering)           *
     *                                                                *
     *   card 8  -- dummy input card for consistency with plotr       *
     *               it always should be 0/                           *
     *                                                                *
     * -----cards 9 and 10 for 2d plots only-----                     *
     *                                                                *
     *   card 9                                                       *
     *     icon          symbol and connection option                 *
     *                     0 = points connected, no symbols           *
     *                    -i = points not connected, symbol at every  *
     *                         ith point                              *
     *                     i = points connected, symbol at every ith  *
     *                         points                                 *
     *                     default=0                                  *
     *     isym          no. of symbol to be used                     *
     *                     0 = square                                 *
     *                     1 = octagon                                *
     *                     2 = triangle                               *
     *                     3 = cross                                  *
     *                     4 = ex                                     *
     *                     5 = diamond                                *
     *                     6 = inverted triangle                      *
     *                     7 = exed square                            *
     *                     8 = crossed ex                             *
     *                     9 = crossed diamond                        *
     *                     10 = crossed octagon                       *
     *                     11 = double triangle                       *
     *                     12 = crossed square                        *
     *                     13 = exed octagon                          *
     *                     14 = triangle and square                   *
     *                     15 = filled circle                         *
     *                     16 = open circle                           *
     *                     17 = open square                           *
     *                     18 = filled square                         *
     *                     19 = filled diamond                        *
     *                     20 = filled triangle                       *
     *                     21 = filled inverted triangle              *
     *                     22 = crossed circle                        *
     *                     23 = exed circle                           *
     *                     24 = exed diamond                          *
     *                     default=0                                  *
     *     idash         type of line to plot                         *
     *                     0 = solid                                  *
     *                     1 = dashed                                 *
     *                     2 = chain dash                             *
     *                     3 = chain dot                              *
     *                     4 = dot                                    *
     *                     5 = invisible                              *
     *                     default=0                                  *
     *     iccol         curve color (def=black)                      *
     *                     0=black                                    *
     *                     1=red                                      *
     *                     2=green                                    *
     *                     3=blue                                     *
     *                     4=magenta                                  *
     *                     5=cyan                                     *
     *                     6=brown                                    *
     *                     7=purple
     *     ithick        controls thickness of curve                  *
     *                     0 = invisible (for shaded areas)           *
     *                     (default=1)                                *
     *     ishade        shade pattern                                *
     *                     0 = none                                   *
     *                     1 to 10 = 10% to 100% gray                 *
     *                     11 to 20 = 45 deg right hatching           *
     *                     21 to 30 = 45 deg left hatching            *
     *                     31 to 40 = 45 deg cross hatching           *
     *                     41 to 50 = shades of green                 *
     *                     51 to 60 = shades of red                   *
     *                     61 to 70 = shades of brown                 *
     *                     71 to 80 = shades of blue                  *
     *                     default=0                                  *
     *                                                                *
     *   card 10   ---ileg.ne.0 only---                               *
     *     aleg          title for curve tag or legend block          *
     *                   60 characters allowed.                       *
     *                   default=blank                                *
     *                                                                *
     *   card 10a  ---ileg.eq.2 only---                               *
     *     xtag          x position of tag title                      *
     *     ytag          y position of tag title                      *
     *     xpoint        x coordinate of vector point                 *
     *                    (.le.0 to omit vector)                      *
     *                                                                *
     * -----card 11 for 3d plots only-----                            *
     *                                                                *
     *   card 11                                                      *
     *     xv,yv,zv      abs. coords of view point                    *
     *                   defaults= 15.,-15.,15.                       *
     *     x3,y3,z3      abs. sides of work box volume                *
     *                   defaults=2.5,6.5,2.5                         *
     *                                                                *
     *          set x3 negative to flip the order of the axis on      *
     *          that side of the box (secondary energy, cosine).      *
     *                                                                *
     *   card 12                                                      *
     *     nform          format code for input data                  *
     *                    0 = free format input with                  *
     *                        optional x and y error bars             *
     *                    1 = free format input for a                 *
     *                        3d family of curves z(x) vs y           *
     *                                                                *
     *   card 13   ---nform = 0 only---   2-d data                    *
     *     xdata          independent value                           *
     *                    terminate with empty card (/)               *
     *     ydata          dependent value                             *
     *     yerr1          lower y error limit                         *
     *                    no y error bar if zero                      *
     *     yerr2          upper y error limit                         *
     *                    if zero, equals yerr1                       *
     *     xerr1          x left error limit                          *
     *                    no x error bar if zero                      *
     *     xerr2          x right error limit                         *
     *                    if zero, equals xerr1                       *
     *                                                                *
     *   card 14   ---nform = 1 only---   3-d data                    *
     *     y              y value for curve                           *
     *                    repeat cards 13 and 13a for each curve      *
     *                    terminate with empty card (/)               *
     *                                                                *
     *   card14a   ---nform = 1 only---                               *
     *     x              x value                                     *
     *     z              z value                                     *
     *                    repeat card 13a for each point in curve     *
     *                    terminate with empty card (/)               *
     *                    disspla version requires same x grid        *
     *                    for each value of y.                        *
     *                                                                *
     ******************************************************************