|
Some more info . . .
MATHPLOT is a menu driven mathematical formula plotter which uses
Regis Graphics. The mathematical functions supported are:
abs, sqrt, cubrt, ln, exp, tento, sin, cos, tan.
The menu line is:
MATHPLOT: W)indow F)ormula L)ine S)olid A)xes fR)ame C)lear V)ars H)elp Q :
and the action of the options:
W)indow allows the selection of a window. a, b, and c available.
F)ormula allows the specification of a mathematical formula to
be plotted on the selected window using any style.
functions supported:
abs, sqrt, cubrt, ln, exp, tento, sin, cos, tan.
L)ine will plot a given function on the selected window
using a line style plot.
S)olid will plot a given function on the selected window
using a solid style plot (i.e. will fill the area under
the curve.
A)xes will plot the x and y axes on the selected window.
fR)ame will place a frame on the selected window.
C)lear will clear the screen.
V)ars will allow to assign values to the three varaibales
v, w, and z which can be used in the formula.
H)elp, ? will display this help page.
Q)uit will exit this program.
Enjoy,
Kostas G.
|
| META SYMBOLS for the MATHPLOT utility.
META-SYMBOLS: The following symbols are used to specify the syntax,
and are not themselves part of the expressions.
::= means "is defined as".
| separates alternative items of which one must be used
{ and } surround an item which occurs zero or more times
[ and ] surround an optional item which occurs at most once
< and > surround the description of an item, which is subsequently defined
otherwise, all symbols are written as indicated.
<EXPRESSION> ::= [<adding operator>] <term> {<adding operator> <term>}
<adding operator> ::= + | -
<term> ::= <factor> {[<multiplying operator>] <factor> }
NOTE: when <multiplying operator> is omitted,
multiplication is implied.
<multiplying operator> ::= * | / | mod
<factor> ::= <value> | <value> ^ <value>
<value> ::= X | <unsigned constant> | <function designator> | (<EXPRESSION>)
<unsigned constant> ::= <real> | pi | e
<function designator> ::= <function name> (<EXPRESSION>)
<function name> ::= Abs | Sqrt | Ln | Exp | Sin | Cos | Tan
<real> ::= <integer part> [.] | <fraction part>
| <integer part> <fraction part>
<integer part> ::= <digit> {<digit>}
<fraction part> ::= .<digit> {<digit>}
<digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Enjoy,
Kostas G.
|
| Hello,
I have modified Mathplot to work with Motif sometime ago. If you are
interested the .exe, .obj, and .com files are in:
COGITO::$1$DUA203:[kostas.userlib]xmathplot.*
Enjoy,
Kostas
|