plots as an histogram a probability distribution function
histg(namey,n,color,wind)
* namey = a time series, a real (nx1) vector or a string equal to the name of a time series or a (nx1) real vector between quotes
* n = # of bars of the histogram
* color = numerical representation of the color used for the bars
* wind = the window number
* nothing (printed on a graphic window)
load(GROCERDIR+'/macros/grocer/db/bdhenderic.dat'); histg('delts(ly)',10,2) // Provides the deciles of the variable delts(ly) with color blue (color numbered 2). histg('delts(ly)',20,6,6); // Takes the same variables but cut the distribution into 20 pieces, with color pink (color numbered 6) and on window # 6. | ![]() | ![]() |