MATLAB Answers

How to put image into plot?

Asked by Arun Badigannavar on 26 Feb 2013
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

ChristianW
on 26 Feb 2013

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

Arun Badigannavar on 26 Feb 2013

whole image at every point

Arun Badigannavar on 26 Feb 2013

ITs like self made marker or Image at every point

Tags

Products

No products are associated with this question.

1 Answer

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

  1 Comment


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today