petsc-3.3-p7 2013-05-11

PetscViewerDrawGetDrawLG

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

Synopsis

#include "petscdraw.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/viewer/impls/draw/drawv.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages