#include "petscdraw.h" PetscErrorCode PetscDrawGetViewPort(PetscDraw draw,PetscReal *xl,PetscReal *yl,PetscReal *xr,PetscReal *yr)Collective on PetscDraw
draw | - the drawing context |
xl,yl,xr,yr | - upper right and lower left corners of subwindow These numbers must always be between 0.0 and 1.0. Lower left corner is (0,0). |