Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*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 smc.vnet.net
  • Subject: [mg70506] RE: [mg70488] A plot inside another plot
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 18 Oct 2006 04:17:00 -0400 (EDT)

Henning,

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

Needs["DrawGraphics`DrawingMaster`"]

Draw2D[
    {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 earthlink.net
http://home.earthlink.net/~djmp/ 

From: Henning Heiberg-Andersen
To: mathgroup at smc.vnet.net
[mailto:henning.heibergandersen at gmail.com]


Hi,

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

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