Formula plotting-graphs

From Algebra.Com's Help
Revision as of 10:10, 27 June 2005 by 64.94.157.1 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Plotting graphs is very easy with my system. The command for it is called graph. It is invoked as follows:

 graph( xwidth, yheight, xmin, xmax, ymin, ymax, func, func2, ... )

xwidth and yheight are width and height of the graph in PIXELS. xmin and xmax, as well as ymin and ymax, define minimum and maximum x and y values for the system of coordinates used on this graph.


func1, func2 etc are expressions that must be functions of x. You can plot a graph of one or more functions.


Example:

 graph( 300, 200, 
        -10, 10, 
        -1, 10,
        x^2-1/2, 
        6-x )

would plot a 300x200 pixel graph, with x coordinate between -10 and 10, and y coordinate between -1 and 10, of two functionsL x^1-1/2 and 6-x.