Plotting a 2D Moving Image

2 ビュー (過去 30 日間)
Alexander Woodbury
Alexander Woodbury 2015 年 10 月 26 日
編集済み: Jan 2015 年 10 月 26 日
Hi,
I'm using matlab to model several particles moving in a 2d field. When using plot, I normally use plot(x,y,'rx'), which will plot these moving particles with a red x, but I want to use an image instead. I've tried using imread in place of 'rx', as well as a few other options, but matlab will not accept this. Does anyone have any solutions or tips I could use?

回答 (1 件)

Jan
Jan 2015 年 10 月 26 日
編集済み: Jan 2015 年 10 月 26 日
Images are drawn by the command image . Define the XData and YData to determine the position.

カテゴリ

Help Center および File ExchangeAnnotations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by