# PetscViewerDrawClear

Clears a PetscDraw graphic associated with a PetscViewer.

### Synopsis

    #include "petscdraw.h"
    PetscErrorCode PETSC_DLLEXPORT PetscViewerDrawClear(PetscViewer viewer)

Not Collective

### Input Parameter

viewer -the PetscViewer

### See Also

PetscViewerDrawOpen(), PetscViewerDrawGetDraw(),

Level:intermediate
Location:src/sys/src/viewer/impls/draw/drawv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages