:orphan: # PetscDrawAxisSetHoldLimits Causes an axis to keep the same limits until this is called again ## Synopsis ``` #include "petscdraw.h" PetscErrorCode PetscDrawAxisSetHoldLimits(PetscDrawAxis axis, PetscBool hold) ``` Logically Collective ## Input Parameters - ***axis -*** the axis - ***hold -*** `PETSC_TRUE` - hold current limits, `PETSC_FALSE` allow limits to be changed ## Note Once this has been called with `PETSC_TRUE` the limits will not change if you call `PetscDrawAxisSetLimits()` until you call this with `PETSC_FALSE` ## See Also `PetscDrawAxisCreate()`, `PetscDrawAxis`, `PetscDrawAxisGetLimits()`, `PetscDrawAxisSetLimits()`, `PetscDrawAxisSetLabels()`, `PetscDrawAxisSetColors()` ## 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)