# PetscDrawSetMarkerType
sets the type of marker to display with `PetscDrawMarker()` 
## Synopsis
```
#include "petscdraw.h" 
PetscErrorCode PetscDrawSetMarkerType(PetscDraw draw, PetscDrawMarkerType mtype)
```
Not collective


## Input Parameters

- ***draw -*** the drawing context
- ***mtype -*** either `PETSC_DRAW_MARKER_CROSS` (default) or `PETSC_DRAW_MARKER_POINT`



## Options Database Key

- ***-draw_marker_type -*** x or point





## See Also
 `PetscDraw`, `PetscDrawPoint()`, `PetscDrawMarker()`, `PetscDrawGetMarkerType()`, `PetscDrawMarkerType`

## Level
beginner

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/interface/dmarker.c.html#PetscDrawSetMarkerType">src/sys/classes/draw/interface/dmarker.c</A>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/interface/dmarker.c)


[Index of all Draw routines](index.md)  
[Table of Contents for all manual pages](/docs/manualpages/index.md)  
[Index of all manual pages](/docs/manualpages/singleindex.md)  
