Using Math Expression 2-D Plot Commands

Using Math Expression 2-D Plot Commands

Using Math Expression 2-D Plot Commands

In Canvas X Draw you can use Math Expressions to create a visual representation of an equation. The visual representation is created as a vector object that uses the current Pen and Fill inks. You can also apply any vector object effect as well as change the Pen and Fill inks. These objects can also be rendered and exported as images.

To Open the Math Expression 2-D Cartesian Plot Dialog Box:

Choose Path | Math Expression 2-D Plot | Cartesian.

To Open the Math Expression 2-D Polar Plot Dialog Box:

Choose Path | Math Expression 2-D Plot | Polar.

To Use the Math Expression 2-D Plot Commands:

  1. Define the mathematical equation using the Categories and Items scroll boxes.
  2. Double-click an item to add it to the Expression field.
  3. The lower portion of the dialog box indicates the correct syntax and shows an example of the expression.

  4. Enter values in the range fields. The maximum range must be greater than the minimum range. You can also enter a value in the “1 Unit of” fields to set a scale.
  5. Use the Steps menu to control the quality of the curve.
  6. Click OK to create the visual representation.

To Save an Expression:

  1. Click on the menu icon and select Save expression as.
  2. In the Save expression as dialog box, enter a name for the expression and click OK.

Saved expressions appear at the bottom of the menu list.

To Load a Saved Expression:

Click on the menu icon and select the expression’s name from the list. The equation appears in the Expression field.

To Delete a Saved Expression:

  1. Click on the menu icon and select Delete expression.
  2. In the Delete expression preset dialog box, select the expression you want to delete, and click OK.

Examples

The following visual representations were created using the Math Expression 2-D Polar Plot dialog box.

Formula: r=1-sin(q)

Expression: r=1-sin(x)

x: 0 - 6.29

r: -10 - 10

Counterclockwise

1/1

Formula: r=sin(2q)

Expression: r=sin(x)

x: 0 - 6.29

r: -10 - 10

Counterclockwise

1/1

Formula: r=2q

Expression: r=2*x

x: -31.4 - 31.4

r: -50 - 50

Counterclockwise

1/40

 

Formula: r=sin(6q)+log(1.5)

Expression: r=sin(6*x)+log(1.5)

x: 0 - 6.29

r: -10 - 10

Counterclockwise

1/1

Formula: r=qsin2(q)

Expression: r=x*(sin(x))^2

x: 0 - 6.29

r: -10 - 10

Counterclockwise

1/3

    • Related Articles

    • Applying Image Editing Commands

      Applying Image Editing Commands You can apply most image editing commands to a single paint object if it’s selected or in Edit mode.You can also apply most commands to multiple selected paint objects. You can set image modes, apply filters, and ...
    • Applying Image Editing Commands

      Applying Image Editing Commands You can apply most image editing commands to a single paint object if it’s selected or in Edit mode.You can also apply most commands to multiple selected paint objects. You can set image modes, apply filters, and ...
    • Applying Image Editing Commands

      Applying Image Editing Commands You can apply most image editing commands to a single paint object if it’s selected or in Edit mode.You can also apply most commands to multiple selected paint objects. You can set image modes, apply filters, and ...
    • Applying Image Editing Commands

      Applying Image Editing Commands You can apply most image editing commands to a single paint object if it’s selected or in Edit mode.You can also apply most commands to multiple selected paint objects. You can set image modes, apply filters, and ...
    • Creating Math Equations

      Creating Math Equations You can create editable math equation objects and place them in your documents. To Create a Math Equation: Choose Object | Create Math Equation. Create an equation in the Math Equation Creator dialog box by doing any of the ...