Real time plot configuration

Hello, good morning. I would like to know if it is possible to recreate something like the gif I attached with matlab.
This example was made with Python, matplotlib and PyQt5 by K. Mulier.
What I would like to know is, assuming that you have the data you could represent the historical data in a certain period of time in blue color and the 10 most recent (for example) as shown in red on the original.
Thank you very much.
I also attach the .py file in case it is of interest.

3 Comments

Thanks for your help but it is nothing like what I am looking for. I am looking to create a figure that looks like that.
The question can be interpreted as asking how to make a GIF, "...is possible to recreate something like the gif".
Here are resources how to animate a line,

Sign in to comment.

Answers (0)

Categories

Products

Release

R2020b

Asked:

on 10 Feb 2021

Commented:

on 12 Jun 2021

Community Treasure Hunt

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

Start Hunting!