:orphan:
# PetscDrawSetCoordinates
Sets the application coordinates of the corners of the window (or page).
## Synopsis
```
#include "petscdraw.h"
PetscErrorCode PetscDrawSetCoordinates(PetscDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr)
```
Not Collective
## Input Parameters
- ***draw -*** the drawing object
- ***xl,yl,xr,yr -*** the coordinates of the lower left corner and upper
right corner of the drawing region.
## See Also
`PetscDraw`, `PetscDrawGetCoordinates()`
## Level
advanced
## Location
src/sys/classes/draw/interface/dcoor.c
## Implementations
PetscDrawSetCoordinates_Image in src/sys/classes/draw/impls/image/drawimage.c
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dcoor.c)
[Index of all Draw routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)