Simulation & Probabilistic Analysis SDK
Add Distribution Fitting & Simulation Features to Your Applications

SPA SDK Help HomeLearn More About the SPA SDK

SPAGraphOptions.NumBins (property)

Description

Sets or returns the number of bins into which the input data is sorted. This property affects the empirical PDF (histogram), CDF, and Survival Function graphs. To have the SDK automatically calculate the number of bins based on the sample size, set this property to SPAConst.NumBinsAuto.

Syntax

object.NumBins

Return Value

(Long) - the number of bins.

Example

Sub Test()
  SPAApplication.Initialize
  SPAApplication.GraphOptions.NumBins = 10
End Sub
  
Copyright © MathWave Technologies
www.mathwave.com