---- Defining Functions to be Plotted ---- Cartesian: Yn = f(X) Where 'n' is in the range 1 to 4 (default is 1). Cartesian parametric: Yn = f(T) Xn = f(T) Polar: Rn = f(A) Radius as a function of angle. 'n' is in the range 1 to 4. Polar parametric: Rn = f(T) Define radius for function 'n' (1 to 4) An = f(T) Define angle for function 'n' (1 to 4) ---- Items that can be part of expressions ---- ---- Arithmetic operators ---- | ---- Built in constants ---- | + Addition | PI Pi (3.14159....) - Subtraction (or unary minus) | E Base of logs (2.718...) * Multiplication | / Division | ---- Parameters ---- ** or ^ Exponentation | P0, P1, ..., P9 ---- Built in functions ---- ABS(x) -- Absolute value. LOG10(x) -- Log base 10. ACOS(x) -- Arc cosine. MAX(a,b) -- Larger of a or b. ASIN(x) -- Arc sine. MIN(a,b) -- Smaller of a or b. ATAN(x) -- Arc tangent. NORMAL(x) -- Normal probability distrib. COS(x) -- Cosine. PULSE(a,x,b) -- 1 if a<=x<=b, else 0. CSC(x) -- Cosecant. RAD(x) -- Convert degrees to radians. COSH(x) -- Hyperbolic cosine. SEC(x) -- Secant. COT(x) -- Cotangent. SIN(x) -- Sine. DEG(x) -- Convert radians to degrees. SINH(x) -- Hyperbolic sine. EXP(x) -- e to x power. SQRT(x) -- Square root. GAMMA(x) -- Gamma function. STEP(a,x) -- 1 if a<=x, else 0. GAMMAI(x) -- 1/Gamma function. TAN(x) -- Tangent. HAV(x) -- Haversine. TANH(x) -- Hyperbolic tangent. J0(x) -- Bessel, 1st kind, order 0. Y0(x) -- Bessel, 2nd kind, order 0. J1(x) -- Bessel, 1st kind, order 1. Y1(x) -- Bessel, 2nd kind, order 1. JN(n,x) -- Bessel, 1st kind, order n. YN(n,x) -- Bessel, 2nd kind, order n. LOG(x) -- Natural log. ---- Commands ---- AXES {ON | OFF} (default=OFF) -- Display axes without labels. CALCULATE cexpr -- Calculate and print the value of an expression. CAXES cexpr (default=3) -- Set color for axes and labels. CFn cexpr (default=2,1,4,3) -- Set color for plot of function 'n'. CGRID cexpr (default=8) -- Set color for grid lines. CLEAR -- Clear the screen. COMMONSCALE {ON | OFF} (default=OFF) -- Force X and Y axes to have same scale. CTITLE cexpr (default=7) -- Set color for title line. DATA filespec -- Read data values from specified file. DISPLAY string -- Display the string on the console. ---- More commands ---- DO filespec -- Execute commands stored in external file. EXIT -- Exit from MATHPLOT and return to DOS. GRID {ON | OFF} (default=OFF) -- Control display of grid lines. LABEL {ON | OFF} (default=OFF) -- Control display of axis labels. LIST {ON | OFF} (default=OFF) -- List files executed by DO command. NUMPOINTS cexpr (default=100) -- Number of points to evaluate and plot. ORIGIN {ON | OFF} (default=OFF) -- Force origin (0,0) to be displayed. PAUSE [cexpr] -- Pause for specified number of seconds or until key is pressed. PLOT -- Evaluate and plot the currently defined function(s). Pn cexpr -- Specify value for parameter P0, P1, ..., P9. ---- More commands ---- RANGE cexpr,cexpr (default=0,2*pi) -- Set data range to be plotted. RESET -- Reset all parameters to initial values and remove functions. SAVE filespec -- Save current plot description in external file. TABULATE -- Evaluate functions and list values. TITLE string -- Specify title for plot.