Stixbox Function histo - plot a histogram
Calling Sequence
- [h,edge]=histo(X)
- [h,edge]=histo(X,M,odd,scale,S) :
Parameters
- X
: datas,
- M
: approximate number of bins,
- odd
: should be 0 or 1 for placement of bins. Least significant digit of bin width will always be 1, 2 or 5.
- scale
: should be one for scaling in order to have the area 1 under the histogram instead of area n.
- S
: string which specifies the plot linestyle
- egde
: edges of the classes of the histogram
- h
: h(i) is the number of values in X that belong to [edge(i),edge(i+1)[
Description
plot a histogram.