drawTickAxes()

Draws a grid of numbered horizontal and vertical lines showing the X and Y axes of the Cartesian plane

Example

With drawTickAxes()

background("#0F1574")
drawTickAxes()

Without drawTickAxes()

background("#0F1574")

Syntax

drawTickAxes(
  [scaleFactor],
  [spacing],
  [axisColor],
  [gridColor],
  [labelColor],
  [labelSize],
  [axisThickness],
  [tickThickness],
  [gridThickness]
);

Description

This function draws x and y-axes with tick marks, labels, and gridlines. They are the standard cartesian coordinates

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