# PetscDrawLGSetUseMarkers
Causes the line graph object to draw a marker for each data-point. 
## Synopsis
```
#include "petscdraw.h"  
PetscErrorCode PetscDrawLGSetUseMarkers(PetscDrawLG lg, PetscBool flg)
```
Logically Collective on lg


## Input Parameters

- ***lg -*** the linegraph context
- ***flg -*** should mark each data point



## Options Database Key

- ***-lg_use_markers  <true,false> -*** true means it draws a marker for each point





## See Also
 `PetscDrawLG`, `PetscDrawLGCreate()`

## Level
intermediate

## Location
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/sys/classes/draw/utils/lgc.c.html#PetscDrawLGSetUseMarkers">src/sys/classes/draw/utils/lgc.c</A>

## Examples
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex68.c.html">src/ksp/ksp/tutorials/ex68.c.html</A><BR>
<A HREF="PETSC_DOC_OUT_ROOT_PLACEHOLDER/src/ksp/ksp/tutorials/ex69.c.html">src/ksp/ksp/tutorials/ex69.c.html</A><BR>


---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/sys/classes/draw/utils/lgc.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)  
