| Financial Time Series Toolbox | ![]() |
Syntax
Arguments
Description
bar and barh draw vertical and horizontal bar charts.
bar(tsobj)
draws the columns of data series of the object tsobj. The number of data series dictates the number of vertical bars per group. Each group is the data for one particular date.
bar(tsobj, width)
specifies the width of the bars.
bar( ... , ' changes the style of the bar chart.style')
hbar = bar(...)
returns a vector of bar handles.
Use the MATLAB command shading faceted to put edges on the bars. Use shading flat to turn edges off.
Examples
Create bar charts for Disney stock showing high, low, opening, and closing prices.
See Also
| ascii2fts | bar3, bar3h | ![]() |