# PetscDrawAxisSetColors
Sets the colors to be used for the axis, tickmarks, and text. 
## Synopsis
```
#include "petscdraw.h"  
PetscErrorCode PetscDrawAxisSetColors(PetscDrawAxis axis, int ac, int tc, int cc)
```
Logically Collective on axis


## Input Parameters

- ***axis -*** the axis
- ***ac -*** the color of the axis lines
- ***tc -*** the color of the tick marks
- ***cc -*** the color of the text strings





## See Also
 `PetscDraw`, `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisSetLabels()`, `PetscDrawAxisDraw()`, `PetscDrawAxisSetLimits()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/utils/axisc.c.html#PetscDrawAxisSetColors">src/sys/classes/draw/utils/axisc.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/utils/axisc.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
