Vector which contains
the elements which have to be binned.
Data Types: single| double
The elements of of input vector
y are binned into nbins equally spaced containers.
Data Types: single| double
Vector of n numeric identifiers
for the group of each element in y. If there are k groups
in y, unique(gy) = k.
Data Types: single| double
Legend labels identifying the groups of each element in y.
length(gylab) = length(unique(gy)) must hold.
If not specified, gylab is set to '' and legends are not
displayed.
If gylab = {}, default legend labels are generated.
If gylab is a cell of strings of length 3, e.g. gylab =
{'G1' 'G2' 'G3'}, such strings are used for the legends.
Example: {'G1' 'G2'}
Data Types: cell array of strings or char
The axis handle
where to plot the grouped histogram (e.g. a traditional
histogram plot to be superimposed). Default is gca.
Example: gca
Data Types: graphics handle
Vector containing the strings of the colors to use
(e.g. 'rgy') or RGB matrix of the colors used for the
groups (e.g. [1 0 0; 0 0 1]). If the number of colors
supplied is smaller than the number of groups the program
displays an error.
Example: 'rgy'
Data Types: character or numeric matrix
Vector which contains optional weights
associated to the elements of y.
Example: [10 20 3000]
Data Types: numeric vector