previous | start | next

## Choosing a Coordinate System

- The default coordinate system for the book's graphics classes:
  - The origin (0, 0) is at the center.
  - x- and y- axis range from -10.0 to 10.0
- The user can reset the coordinate system:

  >     cwin.coord(x_left, y_top, x_right, y_bottom)

- Example:
  For the following data, the x-axis should range from 1 to 12, and the y-axis should range from 11 to 33:

  `cwin.coord(1, 11, 12, 33);`

  > Month | Average Temperature | Month | Average Temperature
  > January | 11 | July | 33
  > February | 13 | August | 32
  > March | 16 | September | 29
  > April | 20 | October | 23
  > May | 25 | November | 16
  > June | 31 | December | 12

  Output is now in terms of the new coordinate system:

  >     cwin << Point(1, 11);
  >     cwin << Point(2, 13);
  >     /* etc. */

previous | start | next