### 19.8.2 Curves in polar coordinates

The plotpolar or polarplot or DrawPol or courbe_polaire command draws a curve given in polar coordinates.

- polarplot takes two arguments:
  - expr, an expression involving a variable (which will represent the angle).
  - var, the variable. This can optionally include the range var=a..b.
  - Optionally, tstep=n to specify the discretization.
  polarplot(expr,var ⟨,tstep=n ⟩) draws the curve defined by ρ=expr for θ=var; in Cartesian coordinates that is the curve (expr·cos(var),expr·sin(var)).

#### Examples

plotpolar(t,t)

plotpolar(t,t,tstep=1)

or:

plotpolar(t,t=0..10,tstep=1)