简体   繁体   中英

Plotting images over a graph in Matlab

Does anyone know how can one plot() a regular 2D plot in Matlab, and draw little images over that plot?

Thanks for any tips.

Hmmm, my bad, it's all there in the basic Matlab commands:

You do your plot(), call 'hold on', and then call 'image(x,y,img)' to plot that image on top of the existing plot.

:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM