MATLAB Answers


How to put image into plot?

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


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



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

Join the 15-year community celebration.

Play games and win prizes!

Learn more
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!