coordinateMode()
changes where the coordinates originate from
Examples
coordinateMode(TOP_LEFT)
coordinateMode(BOTTOM_LEFT)
Sets the coordinate mode to TOP_LEFT or BOTTOM_LEFT. Coordinate mode is set to BOTTOM_LEFT by default. BOTTOM_LEFT mode mimics the standard mathematical setup where coordinate (0,0) is in the bottom left and the y-axis increases upwards.
coordinateMode(MODE)
Input
Description
Value(s)
Default
MODE
coordinate mode to be set
TOP_LEFT BOTTOM_LEFT
BOTTOM_LEFTpy
see drawTickAxes for more info.
Last updated