Dynamically updating the plot in GUI

2 vues (au cours des 30 derniers jours)
Swarnava Pramanik
Swarnava Pramanik le 26 Juin 2016
Hi,
I've made a GUI in which I'm continuously acquiring data from a fpga development kit. I want to do a real time data plot in my existing GUI. I was able to perform real time data plotting using the drawnow function in a separate figure window but want to do the real time plotting in my GUI. Can anyone please kindly help me with this ?
Thanks,

Réponse acceptée

Walter Roberson
Walter Roberson le 26 Juin 2016
There is no difference between doing real-time updates in a different figure or doing it in the same figure. You still access the appropriate graphics handles, update the appropriate properties such as XData and YData or CData, and then drawnow() to permit the screen to be updated.
  4 commentaires
sonR
sonR le 9 Nov 2018
Is there an example of continuously updating a plot (polarplot would be nice) in a GUI?
Walter Roberson
Walter Roberson le 9 Nov 2018
https://www.mathworks.com/matlabcentral/fileexchange/39016-record-plot-speech-audio-signal

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by