<< font_title Printings and graphs histo_ts >>

Grocer >> Printings and graphs > histg

histg

plots as an histogram a probability distribution function

CALLING SEQUENCE

histg(namey,n,color,wind)

PARAMETERS

Input

* 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

 

Output

* nothing (printed on a graphic window)

DESCRIPTION

Plots as an histogram the probability distribution function of a variable.

EXAMPLE

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.

AUTHOR

Eric Dubois 2007

Report an issue
<< font_title Printings and graphs histo_ts >>