MATLAB Answers

0

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

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

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 MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!