Plotting a 2D Moving Image

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 日

0 投票

Images are drawn by the command image . Define the XData and YData to determine the position.

カテゴリ

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

質問済み:

2015 年 10 月 26 日

編集済み:

Jan
2015 年 10 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by