Continually updating graph/ Dynamic Graph/ Live Graph
Show older comments
I am able to continually extract a value from my Raspberry Pi (every 5 seconds) and store it into MATLAB workspace as variable A (over-writes the previous value of A every 5 seconds). Now I would like to plot a graph where A is on the y-axis and time is on the x-axis and it is continually plotting the updated value of A (every 5 seconds) until I stop the program.
Is there anyway to do this? If so, what would the code be to accompish this?
Answers (1)
KALYAN ACHARJYA
on 15 Jul 2019
0 votes
2 Comments
Basit
on 15 Jul 2019
KALYAN ACHARJYA
on 15 Jul 2019
Edited: KALYAN ACHARJYA
on 15 Jul 2019
Categories
Find more on Creating, Deleting, and Querying Graphics Objects in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!