### 15.6.6 Graph of a conic

The conic command draws a conic.

- conic takes one mandatory argument and one or two optional arguments:
  - eq, the equation of a conic.
  - Optionally, vars, a list of the variables (by default [x,y]). The variables can also be given as two separate arguments.
- conic(eq⟨,vars⟩) draws the conic.

#### Example

conic(2*x^2+2*x*y+2*y^2+6*x)

Ellipsis with center (−2,1)

See also the next section for the parametric equation of the conic.