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?

Antworten (1)

Jan
Jan am 26 Okt. 2015
Bearbeitet: Jan am 26 Okt. 2015

0 Stimmen

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

Gefragt:

am 26 Okt. 2015

Bearbeitet:

Jan
am 26 Okt. 2015

Community Treasure Hunt

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

Start Hunting!

Translated by