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 Comments

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

Sign in to comment.

Answers (1)

Youssef  Khmou
Youssef Khmou on 26 Feb 2013
Edited: Youssef Khmou on 26 Feb 2013
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

Categories

Find more on Convert Image Type in Help Center and File Exchange

Tags

Asked:

on 26 Feb 2013

Community Treasure Hunt

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

Start Hunting!