How to remove gaps for weekends and holidays in price charts

4 ビュー (過去 30 日間)
Aleksandra
Aleksandra 2012 年 2 月 18 日
編集済み: Rasmus 2013 年 12 月 21 日
When I use the highlow function (Financial Toolbox) to plot a price chart with high, low, open, close and date data for stock prices, Matlab also plots gaps for days where there is no data such as weekends and holidays. Anyone knows how to tell Matlab not to plot these gaps? This should be a very basic function, yet I cannot find any hint in the official documentation.
The gaps are not displayed in the chart when I leave out the 'Dates' Property from the highlow function, but then Matlab doesn't know which date belongs to which value and consequently the dates cannot be labelled correctly. Therefore, it is not a real viable workaround to the problem.

回答 (2 件)

Rasmus
Rasmus 2013 年 12 月 21 日
編集済み: Rasmus 2013 年 12 月 21 日

gaia buratti
gaia buratti 2012 年 10 月 16 日
Hi Aleksandra, I have the same problem, did you find any solution to that? thanks
Gaia

カテゴリ

Help Center および File ExchangeCalendar についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by