home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / finance / zgraf.zip / ZGRAF.DOC < prev    next >
Text File  |  1990-04-24  |  24KB  |  805 lines

  1.  
  2. ____________________________________________________________________________
  3.  
  4.            USER-INSTRUCTIONS FOR "ZGRAF" PROGRAM
  5. ____________________________________________________________________________
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                 CONTENTS
  14.  
  15.  
  16.  
  17.      I.  INTRODUCTION
  18.  
  19.  
  20.  
  21.     II.  SETTING UP
  22.  
  23.  
  24.  
  25.        III.  COMMAND-LINE SWITCH OPTIONS
  26.  
  27.  
  28.  
  29.        IV.   CONSTRUCTING GRAPHS
  30.  
  31.  
  32.         A.  F(X) Graphs
  33.  
  34.  
  35.         B.  G(X,Y) Graphs
  36.  
  37.  
  38.         C.  Discrete X/Y Graphs
  39.  
  40.  
  41.         D.  Bar Graphs
  42.  
  43.  
  44.         E.  Pie Graphs
  45.  
  46.  
  47.  
  48.      V.  PRINTING GRAPHS
  49.  
  50.  
  51.  
  52.        VI.  MISCELLANEOUS
  53.  
  54.  
  55.  
  56.       VII.  FILES INCLUDED ON DISK
  57.  
  58.  
  59.  
  60.  
  61.       VIII.  REGISTRATION
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  I.  INTRODUCTION
  73.  
  74.     This program is designed to allow the user to create, display,
  75.     and print X/Y, Bar, and Pie graphs, as well as graphs of functions
  76.     of a single variable [Y = F(X)], and functions of two variables
  77.     [Z = G(X,Y)].
  78.  
  79.     The program implements a "quick-and-dirty" approach to graph
  80.     construction, and may lack a few of the niceties that other
  81.     professional packages offer.  However, the program should be
  82.     simple to use, and practically all popular graphics display modes
  83.     (CGA through VGA) are supported.
  84.  
  85.  
  86.  
  87.  II.  SETTING UP
  88.  
  89.  
  90.     To start the program, type "zgraf" (see command-line switch options,
  91.     next section).   A menu should appear on the screen.  Before using
  92.     the program, you may want to adjust the screen/menu colors to your
  93.     liking, and you    may want to specify the system's graphics
  94.     capabilities (i.e., the graphics mode and resolution that you plan
  95.     to use for displaying graphs).  To do this, go to the "Options" menu
  96.     heading, at the top, far right of the screen.
  97.  
  98.     Menu and Screen colors may be changed by selecting "Menu/screen
  99.     colors"    and then pressing the desired key (A-L) to change the color
  100.     of the desired section of the menu screen.  By repeatedly cycling
  101.     through    color combinations, it should be possible to arrive at a
  102.     satisfactory set of colors for screen display on any type of monitor
  103.     [Note that the colors selected here apply only to immediate screen
  104.     colors, and not to graph colors.  Graph colors may be set at the
  105.     time of graph construction.  Alernatively, graph colors and settings
  106.     may be set using the "Graph default params." sub-menu.  Some
  107.     experimentation may be required in order to determine appropriate
  108.     values for each of the graph color settings, so you may want to
  109.     postpone choosing default graph colors until you have tried making a
  110.     few graphs...]
  111.  
  112.     Specifying your system's graphics capability requires that you make
  113.     appropriate selections under both the "Driver type" and the
  114.     "Video mode/resolution" sub-menus (which are also both under the
  115.     main "Options" menu heading).   These menus should be self-
  116.     explanatory.   If, for example,    you plan to use a Color Graphics
  117.     Adapter to display graphs in 640 x 200 resolution, you would select
  118.     "CGA" under the "Driver type" sub-menu, and "CGAHI (640 x 200)"
  119.     under the "Video mode/resolution" sub-menu.
  120.  
  121.     Once you have selected suitable Screen Colors, Graph Colors, and an
  122.     appropriate graphics driver and mode/resolution combination, you
  123.     may save these settings by selecting the "Save Configuration" option.
  124.     If this is done, the next time the program is run, the menu will
  125.     appear in previously selected screen colors, and the graphs will be
  126.     constructed using previously specified colors and graphics settings.
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.     Note that you are not limited to using a single graphics driver/
  139.     mode/res. combination.   It is possible to "override" the "default"
  140.     settings to create graphs in a new mode/resolution, at any time.
  141.  
  142.     For instance, if you have an EGA system and have selected the default
  143.     "CGA" and "CGAHI" settings as given in the example above, you can
  144.     first view a graph in this "CGA" mode, and then select new "EGA"
  145.     settings for the graphics mode/res. and driver--and immediately re-
  146.     view the same graph in an "EGA" mode.  Further, if you select
  147.     "AUTODETECT" under the "Driver type" Menu, the system will
  148.     automatically select the "highest" graphics display mode/driver
  149.     available for use on your system. . .
  150.  
  151.  
  152.  
  153.  III.  COMMAND-LINE SWITCH OPTIONS
  154.  
  155.  
  156.     The following switches may be specified on the command-line:
  157.  
  158.           /ROM -- (ROM-BIOS video)  The default pgm. operating
  159.                mode is to use direct hardware video writes; if your
  160.                system will not support "direct-video" access, but is
  161.                "ROM-BIOS" compatible, use this switch--i.e., type
  162.                "zgraf /ROM" at the command-line to run the program.
  163.                The program will still run, albeit somewhat slower.
  164.                (the "/ROM" switch may also be used for "demo.exe").
  165.  
  166.  
  167.  
  168.  IV.  CONSTRUCTING GRAPHS
  169.  
  170.  
  171.     Instead of giving detailed directions for constructing individual
  172.     graphs, a brief description of each type of graph is given, and
  173.     an example of constructing a graph of each category is demonstrated.
  174.     The directions should become fairly intuitive after working through
  175.     just the few examples listed here. . .
  176.  
  177.  
  178.     A.  F(X) Graph
  179.  
  180.  
  181.          Description:  Graphs a function F(X), for X in the range
  182.                (initial value, final value), using a specified
  183.                number of intermediate data points [n], where
  184.                3 <= [n] <= 200.
  185.  
  186.         Notes:     For most graphs, choosing a value of [n] between
  187.                75 and 100 provides adequate "resolution"; larger
  188.                values of [n] require longer graph calculation
  189.                times.  Automatic graph scaling is performed
  190.                to correspond with the minimum and maximum y-
  191.                values over the range (xmin,xmax).
  192.  
  193.                Up to 150 characters may be entered for the
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.                function F(X).  The function is evaluated in
  204.                double-precision format.  Most standard math
  205.                functions are allowed; see Section VI, below,
  206.                for a complete list of legal functions.
  207.  
  208.  
  209.         Example:   Graph  F(X) = sin(X)/X, for  X >= -20  and
  210.                X <= 20, using [n] = 75 data points.
  211.  
  212.                1.  Select "Enter function F(X)", and
  213.                    type in "sin(X)/X".  Notice that
  214.                    a capital "X" is used for the variable.
  215.  
  216.                2.  Select "Initial X-value", and enter
  217.                    "-20.0".  Notice that a floating-pt.
  218.                    value was entered.
  219.  
  220.                3.  Select "Final X-value", and enter
  221.                    "20.0".  Again, notice that a floating-pt.
  222.                    number was entered.
  223.  
  224.                4.  Select "Number of data points", and enter
  225.                    "75".  This corresponds to the number of
  226.                    intermediate function evaluations to be
  227.                    carried out by the program within the interval
  228.                    (-20,20).
  229.  
  230.                5.  Select "Title", and enter "Graph of sin(X)/X".
  231.  
  232.                6.  Select "Generate graph".  After a second or
  233.                    two of calculation time, the graph should
  234.                    appear on the screen...
  235.  
  236.                    Note:  Now, to experiment (or to make things
  237.                       look better if the graph is now
  238.                       displayed in colors that are difficult
  239.                       to see) try entering various numbers
  240.                       under the "Axis color", "Plot color",
  241.                       and "Background color" categories, and
  242.                       selecting "Generate graph" again to
  243.                       re-view the graph.  The "Screen grid
  244.                       toggle" can be used to switch a grid
  245.                       of dots for the graph on or off.  You
  246.                       can continue trying different settings
  247.                       and re-generating the graph as many
  248.                       times as necessary to obtain a pleasing
  249.                       display.  Once suitable settings for
  250.                       Axis, Plot, and Background colors
  251.                       are found, you can save these values
  252.                       as default colors, using the "Options"
  253.                       menu, "Graph default params." sub-
  254.                       heading.
  255.  
  256.     B.  G(X,Y) Graph
  257.  
  258.  
  259.          Description:  Graphs a function Z = G(X,Y), for X, Y, and Z in
  260.                the range (Xmin, Xmax), (Ymin, Ymax), and
  261.                (Zmin, Zmax), respectively.
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.         Notes:     Since no automatic scaling is performed, values
  270.                for the min and max values should be selected
  271.                to "include" the range of values which will
  272.                be generated.  For example, if your function
  273.                is G(X,Y) = sin( 0.05 * sqrt(X*X + Y*Y) ), with
  274.                -100.0 <= X <= 100.0, and -100.0 <= Y <= 100.0
  275.                (as in the example below), one could select the
  276.                values (Zmin, Zmax) as (-1.0, 1.0), so that all
  277.                points of the sine-function will be included
  278.                and displayed.
  279.  
  280.                Again, up to 150 characters may be entered for
  281.                the function G(X,Y).  The function is evaluated
  282.                in double-precision format; see list of math-
  283.                functions that are supported in Sect. VI, below.
  284.  
  285.                Since G(X,Y) "surface plots" require many lines
  286.                to be drawn, it may take a minute or two for the
  287.                program to draw a complete graph--please be
  288.                patient.  You can abort the graph construction
  289.                process at any time while the graph is being
  290.                created by pressing [Esc]--this may save you some
  291.                time if you do make a mistake...
  292.  
  293.  
  294.  
  295.         Example:   Graph  G(X,Y) = sin( 0.05* sqrt(X*X + Y*Y) ),
  296.                for X in the range (-100,100), and Y in the range
  297.                (-100,100).
  298.  
  299.                1.  Select "Enter function G(X,Y)", and
  300.                    type in "sin( 0.05 * sqrt(X*X + Y*Y) ).
  301.  
  302.                2.  Select "Data variable ranges", then
  303.                    under the sub-menu enter the values
  304.                    -100.0 for Xmin, 100.0 for Xmax, -100.0 for
  305.                    Ymin, and 100.0 for Ymax, respectively.
  306.                    Notice that floating-point values are used.
  307.  
  308.                3.  Enter -1.0 and 1.0 for Zmin and Zmax,
  309.                    respectively.  Press [Esc] to return to
  310.                    main G(X,Y) menu.
  311.  
  312.                4.  Select "Title", and enter "Surface Plot of
  313.                    a Sinusoid".
  314.  
  315.                5.  Select "Generate G(X,Y) graph" to create
  316.                    the graph (when completed, this graph
  317.                    should look like a hat (or a "bundt-cake
  318.                    pan").
  319.  
  320.                    Again, you can try entering various numbers
  321.                    under the "Axis color", "Plot color", and
  322.                    "Background color" categories, and then re-
  323.                    draw the graph.  The "Screen Frame Toggle"
  324.                    can be used to switch the "wire-frame" outline
  325.                    for the graph on or off.
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.                    Note:  For the current version of the program,
  336.                       the "wire-frame" grid is drawn only in
  337.                       the (320 x 320) and (640 x 200) CGA,
  338.                       MCGA, EGA, and VGA video modes (since
  339.                       that's all I could test on my machine);
  340.                       however, the actual plot is drawn in
  341.                       all video modes.
  342.  
  343.  
  344.     C.  Discrete X/Y Graph
  345.  
  346.  
  347.          Description:  Graphs up to 1000 (x,y) data-points (total) taken
  348.                from a data-file, displaying a user-defined symbol
  349.                at each data point.   By using different symbols,
  350.                multiple "groups" of data may be displayed on a
  351.                single X/Y graph grid.
  352.  
  353.  
  354.         Notes:       Each (x,y) coordinate must be entered on its own
  355.                line in the data-file, in floating-pt. format
  356.                (anywhere on the line, but with at least one
  357.                space separating the x- and y-coordinates).  The
  358.                symbol to be displayed must be a single character,
  359.                and must follow the y-coordinate anywhere on the
  360.                line.  Each "group" of data should have a unique
  361.                symbol associated with it.
  362.  
  363.                If connecting lines are to be drawn between
  364.                adjacent data-points (connecting lines can be
  365.                added/removed by the "Connecting-line toggle" menu
  366.                selection), it is important to list the data-
  367.                points in the file sequentially--in the order
  368.                the data is to be plotted, as in the example
  369.                below. . .
  370.  
  371.  
  372.         Example:   It is desired to display two groups of (x,y)
  373.                data on a graph, and to plot the first group
  374.                of data using plus-sign (+) symbols, and the
  375.                second group using "oh" (o) symbols.
  376.  
  377.                The first group of data is:  (0,10), (2.5,10),
  378.                (5,10), (7.5,10), (10,10), (12.5,7.5), (15,5),
  379.                (17.5,2.5), (20,0), (22.5,2.5), (25,5),
  380.                (27.5,7.5), (30,10), (32.5,10), (35,10),
  381.                (37.5,10), and (40,10).
  382.  
  383.                The second group is:  (0,20), (2.5,25), (5,30),
  384.                (7.5,35), (10,40), (12.5,35), (15,30), (17.5,25),
  385.                (20,20), (22.5,25), (25,30), (27.5,35), (30,40),
  386.                (32.5,35), (35,30), (37.5,25), and (40,20).
  387.  
  388.  
  389.                1.  Create the data-file.  Use an editor to edit
  390.                    a file "xy.dat", so that it looks like this
  391.                    (notice that floating-pt. values are used
  392.                    throughout):
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.  
  401.  
  402.  
  403.    This is the first line of file ->    0.0   10.0   +
  404.                     2.5   10.0   +
  405.                     5.0   10.0   +
  406.                     7.5   10.0   +
  407.                     10.0  10.0   +
  408.                     12.5  7.5    +
  409.                     15.0  5.0    +
  410.                     17.5  2.5    +
  411.    This is the first                ->    20.0  0.0    +
  412.    group of data-points, which   ->    22.5  2.5    +
  413.    will be displayed using       ->    25.0  5.0    +
  414.    plus-signs (+)             ->    27.5  7.5    +
  415.                     30.0  10.0   +
  416.                     32.5  10.0   +
  417.                     35.0  10.0   +
  418.                     37.5  10.0   +
  419.                     40.0  10.0   +
  420.    Blank line(s) to separate
  421.    data-groups (ignored by pgm.) ->
  422.  
  423.                     0.0   20.0   o
  424.                     2.5   25.0   o
  425.                     5.0   30.0   o
  426.                     7.5   35.0   o
  427.                     10.0  40.0   o
  428.    This is the second group      ->    12.5  35.0   o
  429.    of data-points, which will    ->    15.0  30.0   o
  430.    be displayed using oh's (o)   ->    17.5  25.0   o
  431.                     20.0  20.0   o
  432.                     22.5  25.0   o
  433.                     25.0  30.0   o
  434.                     27.5  35.0   o
  435.                     30.0  40.0   o
  436.                     32.5  35.0   o
  437.                     35.0  30.0   o
  438.                     37.5  25.0   o
  439.    This is the last line of file ->    40.0  20.0   o
  440.  
  441.  
  442.                    When done editing, save the file, and
  443.                    run the "zgraf" program.
  444.  
  445.                2.  Under the "Discrete X/Y" top heading, select
  446.                    "Load data file".  When prompted for the
  447.                    name of the data-file, type "xy.dat".  The
  448.                    program should indicate that 34 data-points
  449.                    were "loaded".
  450.  
  451.                3.  Select "Generate graph" to draw the graph.
  452.                    Again, you may want to enter a title, and
  453.                    experiment with Axis/Plot/Background color
  454.                    options to obtain a more pleasing graph...
  455.  
  456.  
  457.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.     D.  Bar Graphs
  468.  
  469.  
  470.          Description:  Allows the user to make a bar graph, of up to
  471.                3 sets of bars.
  472.  
  473.         Notes:       The maximum number of bars in the graph must
  474.                not exceed 15.  The number of bars is calculated
  475.                from the formula:
  476.  
  477.                   (# Bars, Total)  =  (# Bars/Set)  *  (# Sets).
  478.  
  479.                As an example, the program could handle 3 sets
  480.                of bars, 5 bars/set (15 bars total), but not 2
  481.                sets of bars, 8 bars/set (16 bars total).
  482.  
  483.  
  484.                Graph Options:   2-D or 3-D bars can be drawn;
  485.                         fill-color and pattern can be
  486.                         selected.
  487.  
  488.  
  489.         Example:   Create a 3-D Bargraph entitled "Average Rainfall
  490.                (in.), Jan-May", for 3 cities as follows:
  491.  
  492.                Chicago:
  493.                  Jan.: 18, Feb.: 22, Mar.: 30, Apr: 40, May: 35.
  494.                New York:
  495.                  Jan.: 22, Feb.: 33, Mar.: 20, Apr: 11, May: 20.
  496.                Seattle:
  497.                  Jan.: 58, Feb.: 72, Mar.: 40, Apr: 35, May: 25.
  498.  
  499.  
  500.                1.  Select "Number of bar groups", and enter
  501.                    "3"; select "Bars/group" and enter "5".
  502.  
  503.                2.  Select "Enter data" and enter the fifteen
  504.                    quantities in floating-pt. format, i.e.,
  505.                    "18.0 [Enter]  22.0 [Enter]  30.0 [Enter]
  506.                    40.0 [Enter]  35.0 [Enter]  22.0 [Enter]
  507.                    33.0 [Enter]  20.0 [Enter] 11.0 [Enter]
  508.                    20.0 [Enter]  58.0 [Enter]  72.0 [Enter]
  509.                    40.0 [Enter]  35.0 [Enter], and 25.0 [Enter].
  510.  
  511.                3.  Select "Item titles" and enter the five
  512.                    bar-titles, i.e., "Jan. [Enter]  Feb. [Enter]
  513.                    Mar. [Enter]  Apr. [Enter]  May [Enter]".
  514.  
  515.                4.  Select "Legend titles", and type in "Chicago",
  516.                    "New York", and "Seattle".
  517.  
  518.                5.  Select "Title" and enter "Average Rainfall
  519.                    (in.), Jan-May".
  520.  
  521.                6.  Select "3-D Bars".
  522.  
  523.                7.  Select "Generate bargraph" to draw the graph.
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.                8.  To experiment, you may want to try selecting
  534.                    different bar colors and bar fill-patterns,
  535.                    and re-generating the graph.
  536.  
  537.  
  538.     E.  Pie Graphs
  539.  
  540.  
  541.          Description:  Allows the user to make a pie graph.
  542.  
  543.         Notes:       Max. Number of Slices in Pie:  10.
  544.  
  545.                Options:   Single- or Multi-color pies can
  546.                       be drawn.
  547.  
  548.  
  549.         Example:   Create a Multi-colored Pie Graph entitled
  550.                "Grain Sales, by Percent" with the following
  551.                data:  Wheat: 30, Corn: 25, Soybeans: 20,
  552.                Rice: 10, Other.: 15.
  553.  
  554.  
  555.                1.  Select "Number of slices" and enter "5".
  556.  
  557.                2   Select "Enter data" and enter the five
  558.                    percentages in floating-pt. format, i.e.,
  559.                    "30.0 [Enter]  25.0 [Enter]  20.0 [Enter]
  560.                    10.0 [Enter]  15.0 [Enter]".
  561.  
  562.                3.  Select "Multi-color pie" (Pie will be
  563.                    displayed in different colors if the
  564.                    current graphics driver type & mode/res.
  565.                    settings support multiple colors).
  566.  
  567.                4.  Select "Title" and enter "Grain Sales by
  568.                    Percent".
  569.  
  570.                5.  Select "Item titles" and enter the five
  571.                    item-descriptions, i.e., "Wheat [Enter]
  572.                    Corn [Enter]  Soybeans [Enter]  Rice [Enter]
  573.                    Other [Enter]".
  574.  
  575.                6.  Select "Generate piegraph" to construct the
  576.                    graph.
  577.  
  578.  
  579.                Notes:  Aspect Ratio Adjustment
  580.  
  581.                   Some monitors may display an "oblong" or
  582.                   not-quite-round-looking pie in some
  583.                   graphics modes; you can make the pie look
  584.                   more "round" by adjusting the Aspect ratio
  585.                   (the height to width ratio) of displayed
  586.                   pixels on the screen.  In this program,
  587.                   the aspect ratio may be set to any
  588.                   (floating-pt.) value between 0.1 and 10.0,
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.                   where smaller numbers tend to expand the
  601.                   pie in the up-and-down direction, and
  602.                   larger numbers expand it in a side-to-side
  603.                   direction.  If a value outside the
  604.                   (0.1,10.0) range (e.g., 0.0) is chosen,
  605.                   the program will try to automatically
  606.                   determine an appropriate aspect ratio.
  607.                   The automatic aspect-ratio selection
  608.                   (i.e., using 0.0 for the aspect ratio)
  609.                   often (but not always) produces a nice,
  610.                   round pie.  Some experimentation may be
  611.                   required to obtain an ideal setting in
  612.                   your environment...
  613.  
  614.  
  615.  
  616.   V.  PRINTING GRAPHS
  617.  
  618.     If you have a dot-matrix or equivalent printer, graphs may be
  619.     printed by pressing [Prt Sc] when a graph is displayed on-screen.
  620.     Using this "print-screen" command requires that you run the DOS
  621.     "graphics.com" program (see your DOS manual) prior to running
  622.     "ZGRAF".   Note that only screens in the modes supported by
  623.     "graphics.com" can be printed [i.e., only screens in the 320 x 200
  624.     and 640 x 200 (CGA) modes are printable    under MS-DOS versions
  625.     3.X and lower].
  626.  
  627.  
  628.  
  629.   VI.   MISCELLANEOUS
  630.  
  631.  
  632.     A.  Math Functions
  633.  
  634.          The following are legal math functions for this program:
  635.  
  636.           ABS()   -- absolute value
  637.           ACOS()  -- arc cosine
  638.           ASIN()  -- arc sine
  639.           ATAN()  -- arc tangent
  640.           COSH()  -- hyperbolic cosine
  641.           COS()   -- cosine
  642.           EXP()   -- e (= 2.7182) raised to the () power
  643.           LOG10() -- common logarithm (base 10)
  644.           LOG()   -- natral logarithm (base e)
  645.           POW10() -- ten raised to the () power
  646.           SINH()  -- hyperbolic sine
  647.           SIN()      -- sine
  648.           SQRT()  -- square root
  649.           SQR()      -- square, i.e., () raised to 2nd power
  650.           TANH()  -- hyperbolic tangent
  651.           TAN()      -- tangent
  652.  
  653.          These functions may be used in either the F(X) and G(X,Y)
  654.          expressions, or with the Desktop Calculator (described below) to
  655.          represent the standard mathematical functions, in double
  656.          precision.
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.     B.  Calculator Mode
  666.  
  667.           Algebraic expressions may be evaluated using the built-in
  668.           calculator, under the "Options" menu (can also be accessed
  669.           with the [Alt C] hotkey).  All math-functions listed above
  670.           are supported.  Up to 65 characters per line are allowed.
  671.           To exit the calculator mode and return to the main menu,
  672.           press [Esc].
  673.  
  674.  
  675.           Example:   Calculate exp( sin(2.0) ).
  676.  
  677.                1.  Select "Calculator" under the "Options" menu.
  678.                Under "Expression:" type in "exp(sin(2.0))",
  679.                and press [Enter].
  680.  
  681.                2.  The answer, 2.482578, should appear below the
  682.                "Result:" line.
  683.  
  684.  
  685.     C.  Saving/Restoring Graphics Images
  686.  
  687.         If you have a graph displayed on-screen that you would like
  688.         to "capture" and save in a file for later recall and review,
  689.         here's how to do it:
  690.  
  691.             (1)  Specify the file name that you wish to save
  692.                  the graphics image in--you can either select
  693.                  "Options", "Image File", then "Graphics Image
  694.                  File Name", or just use the [Ctrl I] hotkey to
  695.                  bring up the same prompt.  If no name is
  696.                  specified, the image file name will default to
  697.                  "ZGRAF.GRF".
  698.  
  699.             (2)  Create the graph you wish to save (see Section
  700.                  IV, Graph Construction for instructions, if
  701.                  necessary).  When the graph is displayed to your
  702.                  liking, press [Ctrl S] to save the image.  If
  703.                  sound is enabled, you should hear a tone, and
  704.                  when the disk I/O activity completes, a message
  705.                  should inform you that the graphic image was
  706.                  saved. . .
  707.  
  708.             (3)  To restore the image (or any image saved to a
  709.                  file), just specify the file name of the image
  710.                  file you wish to restore, as in (1) above (if
  711.                  the current image file name is not already
  712.                  correct), then select "Options", "Image File",
  713.                  and "Restore Graphics Image".  Alternatively,
  714.                  you may use the hotkey [Ctrl R] to accomplish
  715.                  the same function.  The stored image should be
  716.                  redrawn on the screen. . .
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.     D.  Hotkeys
  732.  
  733.         The following hotkeys are in effect for this program,
  734.         and may be used to speed-up moving about the menus:
  735.  
  736.  
  737.              [Alt F] = Go to F(X) Graph Menu
  738.              [Alt G] = Go to G(X,Y) Graph Menu
  739.              [Alt D] = Go to Discrete X/Y Graph Menu
  740.              [Alt B] = Go to Bar Graph Menu
  741.              [Alt P] = Go to Pie Graph Menu
  742.              [Alt O] = Go to Options Menu
  743.  
  744.              [Alt C]  = Calculator Mode
  745.              [Alt H]  = Display Help
  746.              [Ctrl I] = Enter Image File Name
  747.              [Ctrl R] = Restore Graphics Image
  748.              [Ctrl S] = Save Graphics Image (For Graphics Modes Only)
  749.              [Alt T]  = Toggle Sound On/Off
  750.              [Alt X]  = Exit Program
  751.  
  752.  
  753.  
  754.   VII.  FILES INCLUDED ON DISK
  755.  
  756.  
  757.     The following files are part of this package:
  758.  
  759.     ZGRAF.EXE    - Main Executable Program
  760.  
  761.     ZDEFAULT.DAT    - Configuration File (default colors/graphics
  762.               settings)
  763.  
  764.     ZGRAF.DOC    - User Instructions (this file)
  765.  
  766.     XY.DAT        - Sample data-file for Discrete X/Y graph
  767.  
  768.     DEMO.EXE      - Demo Program
  769.  
  770.  
  771.  
  772.  
  773.   VIII.  REGISTRATION
  774.  
  775.  
  776.     If you have any comments or suggestions regarding this program,
  777.     please feel free to contact the author...
  778.  
  779.     If you have found this program useful, a registration fee of $5
  780.     (or an amount you feel appropriate) would be greatly appreciated.
  781.     In exchange for the fee, you will receive:
  782.  
  783.  
  784.          [1]  Program news/update information (when available), and
  785.  
  786.          [2]  The Turbo-C source-code for functions to generate
  787.               F(X), G(X,Y), X/Y, bar, and pie graphs used by this
  788.               program.
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.     Please direct correspondence to:
  798.  
  799.          John Jakob, ZGRAF
  800.          316 Hawthorne Drive
  801.          Jeffersonville, IN 47130.
  802.  
  803.  
  804.     Thank you for using this product.  AMDG.
  805.