# drawTickAxes()

## Example

### *With* drawTickAxes()

![](https://768248463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbs7pgU3AVBY06Rl9M31%2Fuploads%2FZFwZUvcYZby1sv3pc1kJ%2FWITHaxes.png?alt=media\&token=842852c1-81d7-436b-97c8-205e89e99568)

```python
background("#0F1574")
drawTickAxes()
```

### *Without* drawTickAxes()

![](https://768248463-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqbs7pgU3AVBY06Rl9M31%2Fuploads%2FQpTofaVikbKFpcNowANV%2FWITHOUTaxes.png?alt=media\&token=8ebe86b3-f924-439c-b0d5-65643c33d64c)

```python
background("#0F1574")
```

### Syntax

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

<table><thead><tr><th width="160">Input</th><th>Description</th></tr></thead><tbody><tr><td>scaleFactor</td><td>the scale factor applied to the coordinate system prior to drawing the axes</td></tr><tr><td>spacing</td><td>the spacing between tick marks / gridlines</td></tr><tr><td>axisColor</td><td>the color to draw the axes</td></tr><tr><td>gridColor</td><td>the color to draw the gridlines</td></tr><tr><td>labelColor</td><td>the color to draw the labels</td></tr><tr><td>labelSize</td><td>the size of the labels</td></tr><tr><td>axisThickness</td><td>the thickness to draw the axes</td></tr><tr><td>tickThickness</td><td>the thickness to draw the tick marks</td></tr><tr><td>gridThickness</td><td>the thickness to draw the gridlines</td></tr></tbody></table>

### Description

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

{% hint style="info" %}
Find these documents helpful? Let the people who made them help your child learn to code at [**Strivemath**](https://www.strivemath.com/)<mark style="color:blue;">**!**</mark>

We'd love to hear your Feedback/Comments [here](https://docs.google.com/forms/d/e/1FAIpQLSeqorBAGTya-YBRI-VFjJxtgQtCz3ucGDI96K96sNyuaGuvdw/viewform?usp=sf_link).
{% endhint %}
