PetscDrawSave

Saves images produced in a PetscDraw into a file as JPGEG

Synopsis

#include "petscdraw.h" 
PetscErrorCode  PetscDrawSetSave(PetscDraw draw,const char *filename)
Collective on PetscDraw

Input Parameter

draw - the graphics context
filename - name of the file, if PETSC_NULL uses name of draw object

Options Database Command

-draw_save <filename> -

See Also

PetscDrawSetFromOptions(), PetscDrawCreate(), PetscDrawDestroy()

Level:intermediate
Location:
src/sys/draw/interface/drawreg.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages