petsc-3.5.4 2015-05-23
PetscDrawSetType
Builds graphics object for a particular implementation
Synopsis
#include "petscdraw.h"
#include "petscviewer.h"
PetscErrorCode PetscDrawSetType(PetscDraw draw,PetscDrawType type)
Collective on PetscDraw
Input Parameter
| draw | - the graphics context
|
| type | - for example, PETSC_DRAW_X
|
Options Database Command
-draw_type <type> -Sets the type; use -help for a list
of available methods (for instance, x)
Notes
See "petsc/include/petscdraw.h" for available methods (for instance,
PETSC_DRAW_X)
See Also
PetscDrawSetFromOptions(), PetscDrawCreate(), PetscDrawDestroy()
Level:intermediate
Location:src/sys/classes/draw/interface/drawreg.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages