PetscViewerDrawGetDrawLG#
Returns a PetscDrawLG
object from PetscViewer
object of type PETSCVIEWERDRAW
. This PetscDrawLG
object may then be used to perform graphics using PetscDrawLG
commands.
Synopsis#
#include "petscdraw.h"
#include "petscviewer.h"
PetscErrorCode PetscViewerDrawGetDrawLG(PetscViewer viewer, PetscInt windownumber, PetscDrawLG *drawlg)
Collective
Input Parameters#
viewer - the
PetscViewer
(created withPetscViewerDrawOpen()
)windownumber - indicates which subwindow (usually 0)
Output Parameter#
draw - the draw line graph object
Note#
A PETSCVIEWERDRAW
may have multiple PetscDraw
subwindows
See Also#
Viewers: Looking at PETSc Objects, PetscDrawLG
, 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