Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

RE: A plot inside another plot

  • To: mathgroup at
  • Subject: [mg70506] RE: [mg70488] A plot inside another plot
  • From: "David Park" <djmp at>
  • Date: Wed, 18 Oct 2006 04:17:00 -0400 (EDT)


As an example...

Plot[Sin[x], {x, 0, 2Pi},
    Frame -> True,
    Epilog -> 
      Rectangle[{4, 0.2}, {6, 0.8}, 
        Plot[Cos[x], {x, 0, 2Pi}, DisplayFunction -> Identity]],
    ImageSize -> 500];

Or with DrawGraphics


    {Draw[Sin[x], {x, 0, 2Pi}],
      Rectangle[{4, 0.2}, {6, 0.8}, DontShow@Plot[Cos[x], {x, 0, 2Pi}]]},
    Frame -> True,
    ImageSize -> 500];

David Park
djmp at 

From: Henning Heiberg-Andersen
To: mathgroup at
[mailto:henning.heibergandersen at]


Is it possible to create a plot, *at an arbitrary position, *inside another

I have the 5.0 version.

Best regards,
Henning Heiberg-Andersen

  • Prev by Date: Different results after update to Mathematica 5.2
  • Next by Date: "particle" sliding along a curve
  • Previous by thread: Re: A plot inside another plot
  • Next by thread: Re: A plot inside another plot