PetscDrawUtilitySetGamma — PETSc 3.25.4 documentation

Skip to main content
`Ctrl`+`K`

# PetscDrawUtilitySetGamma

Set the monitor gamma-correction value used by the drawing colormap utilities.

## Synopsis

    #include "petscsys.h"
    PetscErrorCode PetscDrawUtilitySetGamma(PetscReal g)

Not Collective

## Input Parameter

- g - the gamma value; a typical value is 2.0

## See Also

`PetscDraw`, `PetscDrawUtilitySetCmap()`

## Level

developer

## Location

src/sys/classes/draw/utils/cmap.c

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