# PetscDrawAxisGetLimits
Gets the limits (in user coords) of the axis 
## Synopsis
```
#include "petscdraw.h"  
PetscErrorCode PetscDrawAxisGetLimits(PetscDrawAxis axis, PetscReal *xmin, PetscReal *xmax, PetscReal *ymin, PetscReal *ymax)
```
Not Collective


## Input Parameters

- ***axis -*** the axis
- ***xmin,xmax -*** limits in x
- ***ymin,ymax -*** limits in y





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

## Level
advanced

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