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: [mg107054] Re: [mg107011] How to combine graphics pimitives and Plot function?
  • From: Alexei Boulbitch <Alexei.Boulbitch at iee.lu>
  • Date: Tue, 2 Feb 2010 03:23:40 -0500 (EST)

Try this:
points = RandomReal[{-1, 1}, {10, 2}];
gr = Graphics[{Red, Line[points]}, Axes -> True];
pl = Plot[Sin[x], {x, - Pi, Pi}];
Show[{gr, pl}]




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 ?



-- 
Alexei Boulbitch, Dr., habil.
Senior Scientist

IEE S.A.
ZAE Weiergewan
11, rue Edmond Reuter
L-5326 Contern
Luxembourg

Phone: +352 2454 2566
Fax:   +352 2454 3566

Website: www.iee.lu

This e-mail may contain trade secrets or privileged, undisclosed or otherwise confidential information. If you are not the intended recipient and have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal from your system. Thank you for your co-operation.




  • Prev by Date: Re: Re: Problem with ContourPlot3D
  • Next by Date: Re: A question about a sphere
  • Previous by thread: Re: How to combine graphics pimitives and Plot function?
  • Next by thread: Conjecture:at least one prime p between (n-1)n/2 and n(n+1)/2