PetscDrawHG#
An object that manages drawing histograms
Synopsis#
typedef struct _p_PetscDrawHG *PetscDrawHG;
Note#
Use a series of calls to PetscDrawHGAddValue()
to create a standard histogram https://en.wikipedia.org/wiki/Histogram, where the bins have integer counts. Use calls to PetscDrawHGAddWeightedValue()
to create a histogram with non-integer bin heights, such as the following https://mathematica.stackexchange.com/questions/103928/histogram-from-relative-frequency-data
See Also#
PetscDrawAxis
, PetscDraw
, PetscDrawLG
, PetscDrawBar
, PetscDrawSP
, PetscDrawHGCreate()
, PetscDrawHGAddValue()
, PetscDrawHGAddWeightedValue()
Level#
advanced
Location#
Implementations#
_p_PetscDrawHG in src/sys/classes/draw/utils/hists.c
Index of all Draw routines
Table of Contents for all manual pages
Index of all manual pages