MathGroup Archive 2010

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

Search the Archive

Re: How to combine graphics pimitives and Plot function?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg107051] Re: How to combine graphics pimitives and Plot function?
  • From: "Wim W. Wilhelm" <wilhelm at euronet.nl>
  • Date: Mon, 1 Feb 2010 06:14:34 -0500 (EST)
  • References: <hk3ug1$dr1$1@smc.vnet.net>

For example:

Show[
    Graphics[{Red, Line[points]}],
    Plot[Sin[x], {x, -10 Pi, 10 Pi}, Axes -> True]
]


"a boy" <a.dozy.boy at gmail.com> wrote in message 
news:hk3ug1$dr1$1 at smc.vnet.net...
> points = RandomReal[{-1, 1}, {100, 2}]
> Graphics[{Red, Line[points], Plot[Sin[x], {x, -10 Pi, 10 Pi}]},
> Axes -> True]
>
> The code doesn't work. how to draw them together? ImageCompose ?
>
> 



  • Prev by Date: Dynamic plot + real data set
  • Next by Date: Re: How to combine graphics pimitives and Plot function?
  • Previous by thread: Re: Dynamic plot + real data set
  • Next by thread: Re: How to combine graphics pimitives and Plot function?