PetscDrawSetMarkerType — PETSc 3.25.1 documentation

Skip to main content
`Ctrl`+`K`

# 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

src/sys/classes/draw/interface/dmarker.c

Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages