#include "petscdraw.h" PetscErrorCode PetscDrawSetSaveFinalImage(PetscDraw draw,const char filename[])Collective on PetscDraw
| draw | - the graphics context | |
| filename | - name of the file, if NULL or empty uses name set with PetscDrawSetSave() or name of draw object |
| -draw_save_final_image <filename> | - filename could be name.ext or .ext (where .ext determines the type of graphics file to save, for example .png) |