petsc-3.3-p7 2013-05-11

PetscViewerDrawSetBounds

sets the upper and lower bounds to be used in plotting

Synopsis

#include "petscdraw.h" 
PetscErrorCode  PetscViewerDrawSetBounds(PetscViewer viewer,PetscInt nbounds,const PetscReal *bounds)
Collective on PetscViewer

Input Parameters

viewer - the PetscViewer (created with PetscViewerDrawOpen())
nbounds - number of plots that can be made with this viewer, for example the dof passed to DMDACreate()
bounds - the actual bounds, the size of this is 2*nbounds, the values are stored in the order min F_0, max F_0, min F_1, max F_1, .....

See Also

PetscViewerDrawGetLG(), 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

Examples

src/snes/examples/tutorials/ex61.c.html
src/snes/examples/tutorials/ex63.c.html
src/snes/examples/tutorials/ex64.c.html
src/snes/examples/tutorials/ex65.c.html
src/ts/examples/tutorials/ex2.c.html
src/ts/examples/tutorials/ex21.c.html