Adding a Function of X

A graph of sine(x), with positive and negative values. The x-axis goes from -10 to 10 and is labeled "X". The y-axis goes from -10 to 10 and is labeled "Y".

To add a function of x to a Cartesian graph:

  1. Insert a Cartesian graph or edit an existing graph by double-clicking it. The Cartesian Graph dialog box opens.

  2. In the Layers section, click Add.

  3. Select f(x) in the Add Cartesian Layer dialog box and then click OK.

  4. Enter a function using x as the variable.

  5. Enter the Domain of the function. The default domain is from -Inf to Inf.

  6. Select a Relation to specify how shading is applied to the graph.

    Relation Shading
    = The line is shaded.
    < The area below the line is shaded.
    <= The line and the area below the line is shaded.
    > The area above the line is shaded.
    >= The line and area above the line is shaded.
  7. Select a Line Style for the line.

  8. Select a Line Color.

  9. Click Fill Color to specify the color of the shaded area of the graph.

  10. Click Fill Shading to specify the pattern applied to the shaded area of the graph.

  11. If you want the layer to display only if a certain condition is met, enter an equation or a variable that evaluates to true or false into the Show if field. .

    Note: When entering variables, enclose the variable name in two opening and two closing number signs (for example, ##var1## = 3). The variable you reference must be defined for the question or the preface associated with the question.

  12. Click OK.