petsc-3.4.5 2014-06-29

PetscViewerDrawGetDrawLG

Returns PetscDrawLG object from PetscViewer object. This PetscDrawLG object may then be used to perform graphics using PetscDrawLGXXX() commands.

Synopsis

#include "petscdraw.h" 
#include "petscviewer.h" 
PetscErrorCode  PetscViewerDrawGetDrawLG(PetscViewer viewer,PetscInt windownumber,PetscDrawLG *drawlg)
Not Collective (but PetscDrawLG object will be parallel if PetscViewer is)

Input Parameter

PetscViewer - the PetscViewer (created with PetscViewerDrawOpen())
windownumber - indicates which subwindow (usually 0)

Ouput Parameter

draw -the draw line graph object

See Also

PetscViewerDrawGetDraw(), PetscViewerDrawGetAxis(), PetscViewerDrawOpen()

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