Is it possible to use an image as a plot background?
$\begingroup$
$\endgroup$
One can use Prolog
to create a background for a Plot
.
Plot[Sin[x], {x, 0, 2 Pi}, PlotStyle -> Red,
Prolog -> Inset[RandomImage[UniformDistribution[{.2, .6}], ColorSpace -> "Grayscale",
ImageSize -> Full]], PlotRangeClipping -> False,
AxesStyle -> White]
-
1
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? $\endgroup$ – ktm Aug 19 '16 at 20:19