:orphan: # 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 ## 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 src/sys/classes/draw/utils/axisc.c --- [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](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)