:orphan: # PetscDrawIndicatorFunction Draws an indicator function (where a relationship is true) on a `PetscDraw` ## Synopsis ``` #include "petscdraw.h" PetscErrorCode PetscDrawIndicatorFunction(PetscDraw draw, PetscReal xmin, PetscReal xmax, PetscReal ymin, PetscReal ymax, int c, PetscErrorCode (*indicator)(void *, PetscReal, PetscReal, PetscBool *), void *ctx) ``` Not Collective ## Input Parameters - ***draw -*** a `PetscDraw` - ***xmin -*** region to draw indicator function - ***xmax -*** region to draw indicator function - ***ymin -*** region to draw indicator function - ***ymax -*** region to draw indicator function - ***f -*** the indicator function ## See Also `PetscDraw` ## Level developer ## Location src/sys/classes/draw/interface/drect.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/drect.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)