Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

Is there a quick and easy way with Graphics to replace the standard data points in a plot with a custom image?

share|improve this question
add comment

1 Answer

There is a PlotMarkers option in ListPlot:

img = ExampleData[{"TestImage", "Lena"}];
ListPlot[Table[{Sin[n], Sin[2 n]}, {n, 50}], PlotMarkers -> Show[img, ImageSize -> 20]]

enter image description here

share|improve this answer
    
Perfect. Thanks! –  ColtonFisher92 Dec 6 '13 at 3:25
    
@Kuba Hmm, good question. –  halirutan Dec 6 '13 at 9:47
    
Table[{{t, 4/5 (Sqrt[1 - t^2] + Sqrt[Abs[t]])}, {t, 4/5 (-Sqrt[1 - t^2] + Sqrt[Abs[t]])}}, {t, -1, 1, .2}] :p –  Kuba Dec 6 '13 at 10:03
    
Awwww so cute @Kuba :D Better with Elaine! –  Öskå Dec 6 '13 at 11:28
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.