hipow SciMax Toolbox hodge

SciMax Toolbox >> histogram

histogram

Maxima Function

Calling Sequence

histogram (list)
histogram(list,option_1,option_2,...)
histogram(one_column_matrix)
histogram(one_column_matrix,option_1,option_2,...)

Description

This function plots an histogram. Sample data must be stored in a list of numbers or a one column matrix. Giving values to the following options some aspects of the plot can be controlled:

In the next two examples, histograms are requested for the first 100 digits of number %pi and for the wind speeds in the third meteorological station.

(%i1) load (descriptive)$
(%i2) load (numericalio)$
(%i3) s1 : read_list (file_search ("pidigits.data"))$
(%i4) histogram (s1, 'maintitle = "pi digits",
 'axisnames = ["", "Absolute frequency"], 'relbarwidth = 0.2,
 'barcolor = 3, 'colorintensity = 0.6)$
(%i5) s2 : read_matrix (file_search ("wind.data"))$
(%i6) histogram (col (s2, 3), 'colorintensity = 0.3)$

Note that in the first case, s1 is a list and in the second example, col(s2,3) is a matrix.

See also function .

hipow SciMax Toolbox hodge