:orphan: # PetscDrawViewFromOptions View a `PetscDraw` from the option database ## Synopsis ``` #include "petscdraw.h" #include "petscviewer.h" PetscErrorCode PetscDrawViewFromOptions(PetscDraw A, PetscObject obj, const char name[]) ``` Collective ## Input Parameters - ***A -*** the `PetscDraw` context - ***obj -*** Optional object - ***name -*** command line option ## See Also `PetscDraw`, `PetscDrawView`, `PetscObjectViewFromOptions()`, `PetscDrawCreate()` ## Level intermediate ## Location src/sys/classes/draw/interface/drawreg.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/drawreg.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)