# How to use an image as a plot background

Is it possible to use an image as a plot background?

• I would say something like Plot[Sin[x], {x, 0, 10}, Prolog -> {Rasterize[RandomImage[], "Graphics"]}] but that seems to error out... Anyone have any idea if it actually is invalid? – ktm Aug 19 '16 at 20:19

One can use Prolog to create a background for a Plot.
Plot[Sin[x], {x, 0, 2 Pi}, PlotStyle -> Red,