Re: Using a jpg picture for a 2D plot background
- To: mathgroup at smc.vnet.net
- Subject: [mg99022] Re: Using a jpg picture for a 2D plot background
- From: Sunt05 <SunTing.05 at gmail.com>
- Date: Fri, 24 Apr 2009 03:47:10 -0400 (EDT)
- References: <gspgk7$nro$1@smc.vnet.net>
On Apr 23, 6:41 pm, Bill <WDWNORW... at aol.com> wrote:
> Hi:
>
> I would like to use a jpg picture as a background for a 2D plot in Mathem=
atica 6.0.1, on a PC using Win XP.
> I'm not sure if this can be done. If this can be done, can someone please=
give me the code to do this?
>
> Thanks,
>
> WDW
Hi,
Try
==========================
=====
Plot[Sin[x], {x, 0, 1}, Prolog -> Inset[pic]]
(*pic is your own jpg pic, which should be imported*)
==========================
=====