PetscDrawAxisSetColors — PETSc 3.21.4 documentation

Skip to main content
`Ctrl`+`K`

# 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

Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages