Update candle plot with additional candle
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposta accettata
Mario Malic
il 1 Gen 2021
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 Commenti
Mario Malic
il 2 Gen 2021
Modificato: Mario Malic
il 2 Gen 2021
You're welcome. You can accept my answer on the blue button, thanks in advance.
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Discrete Data Plots in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!