: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
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/dcoor.c.html#PetscDrawSetCoordinates">src/sys/classes/draw/interface/dcoor.c</A>

## Implementations

<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/impls/image/drawimage.c.html#PetscDrawSetCoordinates_Image">PetscDrawSetCoordinates_Image in src/sys/classes/draw/impls/image/drawimage.c</A><BR>


---
[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)  
