# PetscDrawAxisDraw
draws an axis. 
## Synopsis
```
#include "petscdraw.h"  
PetscErrorCode PetscDrawAxisDraw(PetscDrawAxis axis)
```
Collective on axis


## Input Parameter

- ***axis -*** `PetscDrawAxis` structure





## Note
This draws the actual axis.  The limits etc have already been set.
By picking special routines for the ticks and labels, special
effects may be generated.  These routines are part of the Axis
structure (axis).


## See Also
 `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisGetLimits()`, `PetscDrawAxisSetLimits()`, `PetscDrawAxisSetLabels()`, `PetscDrawAxisSetColors()`

## Level
advanced

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/utils/axisc.c.html#PetscDrawAxisDraw">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)  
