#include "petscdraw.h" PetscErrorCode PetscDrawSetSave(PetscDraw draw,const char filename[])Collective on PetscDraw
draw | - the graphics context | |
filename | - name of the file, if .ext then uses name of draw object plus .ext using .ext to determine the image type |
-draw_save <filename> | - filename could be name.ext or .ext (where .ext determines the type of graphics file to save, for example .png) | |
-draw_save_final_image [optional filename] | - saves the final image displayed in a window | |
-draw_save_single_file | - saves each new image in the same file, normally each new image is saved in a new file with filename/filename_%d.ext |