PetscDrawHGIntegerBins — PETSc 3.23.0 documentation

Skip to main content
`Ctrl`+`K`

# PetscDrawHGIntegerBins

Turns on integer width bins

## Synopsis

    #include "petscdraw.h"
    #include "petscsys.h"
    #include "petscviewer.h"
    PetscErrorCode PetscDrawHGIntegerBins(PetscDrawHG hist, PetscBool ints)

Not Collective

## Input Parameters

- hist - The histogram context

- ints - Flag for integer width bins

## See Also

`PetscDrawHG`, `PetscDrawHGCreate()`, `PetscDrawHGAddValue()`, `PetscDrawHGView()`, `PetscDrawHGDraw()`, `PetscDrawHGSetColor()`

## Level

intermediate

## Location

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

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