The ordinate of a point or vector in the plane: ordinate

### 13.13.3 The ordinate of a point or vector in the plane: ordinate

See Section 14.12.2 for ordinates in three-dimensional geometry.

The ordinate command finds the ordinate (y coordinate) of a point.

- ordinate takes one argument:
  P, a point.
- ordinate(P) returns the ordinate of P.

#### Examples.

- Input:
  ordinate(point(1 + 2*i))
  Output:

  2

- Input:
  ordinate(point(i) - point(1 + 2*i))
  Output:

  −1

- Input:
  ordinate(1 + 2*i)
  Output:

  2

- Input:
  ordinate([1,2])
  Output:

  2