SetHistogramBin


Sets the value of a single histogram bin.

Syntax

C++
C#
Python
 
def SetHistogramBin(
	ioHistogram: Histogram,
	inIndex: int,
	inNewValue: float,
	/,
	*,
	inCyclic: bool = False,
	inInverse: bool = False
)
-> None

Parameters

Name Type Default Description
Input will be modified ioHistogram Histogram
Input value inIndex int Input bin index
Input value inCyclic bool False Whether to wrap the index around or not
Input value inInverse bool False Reversed order of bins
Input value inNewValue float Input new value to be set