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