Generate a moving line plot superimposed over video?

Hello,
I am hoping to generate a line plot that sequentially adds points over time. To make this a bit trickier, I then want to keep the axis zoomed in on the newest ~10s of data so that it scrolls along with it.
Once I hash out this code, I hope to superimpose it over a video. For example, imagine a video of activity on the stock market floor with a moving ticker showing the change in market value over time.
My line data set is a vector and I can convert my video to any format. I am working with very large files right now... about three hours of video and data updates ten times a second. I am starting to think Adobe Flash or similar products may make this easier, but it seems like Matlab should be totally capable of this. Any advice would be greatly obliged!

2 件のコメント

DF
DF 2016 年 9 月 7 日
Did you ever find a way to make this work? I am trying to do something very similar.
Image Analyst
Image Analyst 2016 年 9 月 7 日
I don't know either but I gave him code to get him 90% of the way there.

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2014 年 8 月 19 日

1 投票

Yes you can do it. Study the attached demo that builds a movie from images. You just have to create an image somehow, like with plot(). Then use getframe() to extract the image from the axes.

1 件のコメント

Christopher
Christopher 2014 年 8 月 19 日
Thanks! I will give this a try!

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeConvert Image Type についてさらに検索

質問済み:

2014 年 8 月 19 日

コメント済み:

2016 年 9 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by