How to put image into plot?

X=1:1:10;
Y=1:1:10;
plot(X,Y,'r*')
it plots X Vs Y values with star as indication....How to put a image(.jpg)in place of the star to show X Y values?

3 个评论

Do you want the X,Y-Pixel or the whole image at every point? Or do you want selfmade marker?
whole image at every point
ITs like self made marker or Image at every point

请先登录,再进行评论。

回答(1 个)

Youssef  Khmou
Youssef Khmou 2013-2-26
编辑:Youssef Khmou 2013-2-26

0 个投票

hi, i do not think you can put jpg file in the Line style , but you can use of the available options :
1 -*
2 -:
3 o
Type : LineStyle in the help for more information

类别

帮助中心File Exchange 中查找有关 Convert Image Type 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by