I needed to plot some bar charts but I haven't got the financial toolbox. I couldn't find one here so I modified Nagi Hatoum's Candlestick Graph script to display bar charts.
I've also updated Hatoum's candlestick plotter, custom colors are available for both bars and candles. Also expanded the number of ways to input data. In combination with tlabel (see acknowledgements), auto-updating dates can be shown on the x axis.
Input instructions are in the file (look at the file or use 'help [fcnname]')
Jelle Veraa (2021). Bar- and candle style graph for stocks (https://www.mathworks.com/matlabcentral/fileexchange/23463-bar-and-candle-style-graph-for-stocks), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!