setCoords()

The GraphWin method that sets your own coordinate system, giving the x and y of the lower-left and upper-right corners.

In more detail

win.setCoords(0, 0, 400, 300) makes y point upwards like a graph, and shapes scale with the window. The course adds it as a tutorial addition to turn the axis the right way up.

Related terms

Taught in

References