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?

Respuestas (1)

Jan
Jan el 26 de Oct. de 2015
Editada: Jan el 26 de Oct. de 2015

0 votos

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

Categorías

Preguntada:

el 26 de Oct. de 2015

Editada:

Jan
el 26 de Oct. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by