MathGroup Archive 2010

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

Search the Archive

Re: Putting a Plot inside a Graphics function with other

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108085] Re: [mg108071] Putting a Plot inside a Graphics function with other
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Mon, 8 Mar 2010 06:11:58 -0500 (EST)
  • Reply-to: hanlonr at cox.net

Plot[x, {x, 0, 1},
 Epilog -> {Red, Thick,
   Line[{{1/2, 0}, {1/2, 1}}],
   LightBlue, Disk[{.25, .75}, .25]},
 AspectRatio -> 1]

Show[Plot[x, {x, 0, 1}],
 Graphics[{Red, Thick,
   Line[{{1/2, 0}, {1/2, 1}}],
   LightBlue, Disk[{.25, .75}, .25]}],
 AspectRatio -> 1]


Bob Hanlon

---- cool-RR <ram.rachum at gmail.com> wrote: 

=============
Hello,

(Please ignore my earlier question about plot markers, I already
figured it out, thanks.)

I am trying to combine a Plot with other graphics elements. I've tried
doing Graphics[{Plot[whatever], Disk[whatever]}], but it's saying that
"Graphics is not a Graphics directive." (Probably because Plot already
applies Graphics itself.)

How do I do this?

Thanks for your time,
Ram Rachum




  • Prev by Date: Re: Mathematica function to calculate correlation coefficient?
  • Next by Date: Re: how to extract coefficients of non-cosine term?
  • Previous by thread: Re: union table
  • Next by thread: Re: Putting a Plot inside a Graphics function with other