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

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