Normalization

public enum Normalization : String, Encodable

Specifies the type of normalization used for this histogram trace.

If *, the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If *percent / probability, the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If density, the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If probability density, the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1).

Note

Used by Histogram<XData, YData>.normalization, Histogram2D<XData, YData, ZData>.normalization, Histogram2DContour<XData, YData, ZData>.normalization.
  • off

    Undocumented

    Declaration

    Swift

    case off = ""
  • Undocumented

    Declaration

    Swift

    case percent
  • Undocumented

    Declaration

    Swift

    case probability
  • Undocumented

    Declaration

    Swift

    case density
  • Undocumented

    Declaration

    Swift

    case probabilityDensity = "probability density"