Dynamically updating the plot in GUI

조회 수: 19 (최근 30일)
Swarnava Pramanik
Swarnava Pramanik 2016년 6월 26일
댓글: Walter Roberson 2018년 11월 9일
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,

채택된 답변

Walter Roberson
Walter Roberson 2016년 6월 26일
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
sonR
sonR 2018년 11월 9일
Is there an example of continuously updating a plot (polarplot would be nice) in a GUI?
Walter Roberson
Walter Roberson 2018년 11월 9일
https://www.mathworks.com/matlabcentral/fileexchange/39016-record-plot-speech-audio-signal

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by