Update candle plot with additional candle
2 ビュー (過去 30 日間)
古いコメントを表示
Is it somehow possible to update an existing candle-plot without redrawing the whole chart?
Meaning I want to add a candle when new data has arrived. Everytime redrawing the whole chart is rather slow.
0 件のコメント
採用された回答
Mario Malic
2021 年 1 月 1 日
If you save the handle to the plot, you can access its Data property
h = candle(ax, someData)
h.Data(end+1) = [1 2 3 4];
6 件のコメント
Mario Malic
2021 年 1 月 2 日
編集済み: Mario Malic
2021 年 1 月 2 日
You're welcome. You can accept my answer on the blue button, thanks in advance.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Discrete Data Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!