MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Using a jpg picture for a 2D plot background

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99018] Re: Using a jpg picture for a 2D plot background
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 24 Apr 2009 03:46:24 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <gspgk7$nro$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,


img = Import["http://blog.wolfram.com/images/people/sw.jpg";];

Graphics[
    {Image`ToGraphicsRaster[img][[1]], Line[{{0, 0}, {50, 60}}]}
  ]

in Mathematica 7, and

Graphics[
    {img[[1]], Line[{{0, 0}, {50, 60}}]}
  ]

in Mathematica 6.

Regards
   Jens


Bill wrote:
> Hi:
> 
> I would like to use a jpg picture as a background for a 2D plot in Mathematica 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
> 


  • Prev by Date: Re: Using a jpg picture for a 2D plot background
  • Next by Date: Re: fitting surface with Mathematica 6.0.3 and range of fitted values
  • Previous by thread: Re: Using a jpg picture for a 2D plot background
  • Next by thread: Re: Using a jpg picture for a 2D plot background