The Function command draws analytic functions in the form y as a function of x or y = f(x).

The Function command is similar to a graphing calculator. Type in a function and a range, and DataGraph will draw the line. By using variables, you can explore how a function changes with different inputs, create animations, etc.


If variables in your expression are not already defined as global variables, they will automatically be listed in the table below. You can type in numeric values, use the sliders to vary, or enter the names of global variables.


Use the Fill with menu to add a fill of varying styles. By default, the fill is drawn from y(x)=0 equal to zero.

You can also specify a function that the fill is drawn to.

Table of Contents