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)

see drawTickAxes for more info.

Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!

We'd love to hear your Feedback/Comments here.

Last updated