<< histg Printings and graphs mat2latex >>

Grocer >> Printings and graphs > histo_ts

histo_ts

plots series with bars as in Excel

CALLING SEQUENCE

histg(namey,color,title,dilat,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

* color = either:

   - a scalar, the numerical representation of the color used for the bars

   - a (1 x n) vector, the numerical representation of the color used for the bars (one per bar)

   - a (k x n) vector, the numerical representation of the color used for the bars, one per bar, each column representing the RGB color definition.

* title = the graph title

* dilat = the dilatation factor applied to the default axis font

* wind = the window number (optional: by default a new window is open)

 

Output

* nothing (printed on a graphic window)

DESCRIPTION

Plots series with bars as in Excel.

EXAMPLE

load(GROCERDIR+'\data\bdhenderic.dat')
histo_ts('delts(lm1)',2,'M1 growth rate',1)
 
 
// Example graphs the growth rate of UK M1, with a dilatation factor 2 for the axis

AUTHOR

Eric Dubois 2011

Report an issue
<< histg Printings and graphs mat2latex >>