drawTickAxes()
Draws a grid of numbered horizontal and vertical lines showing the X and Y axes of the Cartesian plane
Last updated
Draws a grid of numbered horizontal and vertical lines showing the X and Y axes of the Cartesian plane
Last updated
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.
Input | Description |
---|---|
scaleFactor
the scale factor applied to the coordinate system prior to drawing the axes
spacing
the spacing between tick marks / gridlines
axisColor
the color to draw the axes
gridColor
the color to draw the gridlines
labelColor
the color to draw the labels
labelSize
the size of the labels
axisThickness
the thickness to draw the axes
tickThickness
the thickness to draw the tick marks
gridThickness
the thickness to draw the gridlines